remove unnecessary if statement
This commit is contained in:
parent
f9919be76c
commit
5d5d7842c8
|
@ -33,11 +33,7 @@ sub OnAuthenticated()
|
|||
authenticated = AuthenticateViaQuickConnect(m.top.quickConnectJson.secret)
|
||||
if authenticated <> invalid and authenticated = true
|
||||
currentUser = AboutMe()
|
||||
if m.top.saveCredentials
|
||||
session.user.Login(currentUser, true)
|
||||
else
|
||||
session.user.Login(currentUser)
|
||||
end if
|
||||
session.user.Login(currentUser, m.top.saveCredentials)
|
||||
session.user.LoadUserPreferences()
|
||||
LoadUserAbilities()
|
||||
m.top.close = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user