Skip to content

Commit

Permalink
remove unnecessary if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Nov 11, 2023
1 parent f9919be commit 5d5d784
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/quickConnect/QuickConnectDialog.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d5d784

Please sign in to comment.