projects
/
mod_auth_gssapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c01b7aa
)
Store data in session as the last thing
author
Simo Sorce
<simo@redhat.com>
Sat, 13 Jun 2015 22:44:18 +0000
(18:44 -0400)
committer
Simo Sorce
<simo@redhat.com>
Sat, 13 Jun 2015 23:01:35 +0000
(19:01 -0400)
mag_attempt_session() was being called too early.
Signed-off-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_gssapi.c
b/src/mod_auth_gssapi.c
index
8687568
..
95838d3
100644
(file)
--- a/
src/mod_auth_gssapi.c
+++ b/
src/mod_auth_gssapi.c
@@
-709,13
+709,13
@@
static int mag_auth(request_rec *req)
vtime = MIN_SESS_EXP_TIME;
}
mc->expiration = expiration;
- if (cfg->use_sessions) {
- mag_attempt_session(req, cfg, mc);
- }
mc->auth_type = auth_type;
if (auth_type == AUTH_TYPE_BASIC) {
mag_basic_cache(cfg, mc, ba_user, ba_pwd);
}
+ if (cfg->use_sessions) {
+ mag_attempt_session(req, cfg, mc);
+ }
}
if (cfg->send_persist)