Fixed bug in execution of TryAutoLogin.
This commit is contained in:
parent
b877469900
commit
768851c30f
2 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("3.0.2.508")]
|
[assembly: AssemblyVersion("3.0.2.509")]
|
||||||
[assembly: AssemblyFileVersion("3.0.2.508")]
|
[assembly: AssemblyFileVersion("3.0.2.509")]
|
||||||
|
|
|
@ -47,7 +47,7 @@ namespace ScrewTurn.Wiki {
|
||||||
SetupSession(null);
|
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
|
// If no cookie is available, try to autologin through providers
|
||||||
UserInfo user = Users.TryAutoLogin(HttpContext.Current);
|
UserInfo user = Users.TryAutoLogin(HttpContext.Current);
|
||||||
if(user != null) {
|
if(user != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue