We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9d246 commit bb7c20bCopy full SHA for bb7c20b
src/mod_auth_gssapi.c
@@ -209,7 +209,9 @@ static int mag_auth(request_rec *req)
209
}
210
211
/* if available, session always supersedes connection bound data */
212
- mag_check_session(req, cfg, &mc);
+ if (cfg->use_sessions) {
213
+ mag_check_session(req, cfg, &mc);
214
+ }
215
216
if (mc) {
217
/* register the context in the memory pool, so it can be freed
@@ -335,7 +337,9 @@ static int mag_auth(request_rec *req)
335
337
vtime = MIN_SESS_EXP_TIME;
336
338
339
mc->expiration = time(NULL) + vtime;
- mag_attempt_session(req, cfg, mc);
340
341
+ mag_attempt_session(req, cfg, mc);
342
343
344
345
ret = OK;
0 commit comments