Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit b2c013f

Browse files
authored
Merge pull request #2345 from Catalysts/fix-saml-username
[FIX] SAML: Save username on login
2 parents 171d81e + d606b34 commit b2c013f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/chat/rocket/android/authentication/loginoptions/presentation/LoginOptionsPresenter.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ class LoginOptionsPresenter @Inject constructor(
147147
)
148148
localRepository.saveCurrentUser(url = currentServer, user = user)
149149
saveCurrentServer.save(currentServer)
150+
localRepository.save(LocalRepository.CURRENT_USERNAME_KEY, username)
150151
saveAccount(username)
151152
saveToken(token)
152153
analyticsManager.logLogin(loginMethod, true)

0 commit comments

Comments
 (0)