remove unnecessary if statement

This commit is contained in:
Charles Ewert 2023-11-11 11:05:21 -05:00
parent f9919be76c
commit 5d5d7842c8

View File

@ -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