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

Commit 36ff37c

Browse files
committed
SAML: save username on login
1 parent 0c21f1d commit 36ff37c

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)