Fixed bug in execution of TryAutoLogin.
This commit is contained in:
parent
b877469900
commit
768851c30f
2 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ namespace ScrewTurn.Wiki {
|
|||
SetupSession(null);
|
||||
}
|
||||
}
|
||||
else if(HttpContext.Current.Session[Logout] == null) { // Check for filtered autologin
|
||||
else if(SessionFacade.LoginKey == null && HttpContext.Current.Session[Logout] == null) { // Check for filtered autologin
|
||||
// If no cookie is available, try to autologin through providers
|
||||
UserInfo user = Users.TryAutoLogin(HttpContext.Current);
|
||||
if(user != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue