[Login] remove trim on password
This commit is contained in:
parent
3bbb857a19
commit
5ba4c2618e
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class LoginRootPresenter @Inject constructor(private val authenticationService:
|
||||||
loggedInState.value = LoggedInState.LoggingIn
|
loggedInState.value = LoggedInState.LoggingIn
|
||||||
//TODO rework the setHomeserver flow
|
//TODO rework the setHomeserver flow
|
||||||
authenticationService.setHomeserver(homeserver)
|
authenticationService.setHomeserver(homeserver)
|
||||||
authenticationService.login(formState.login.trim(), formState.password.trim())
|
authenticationService.login(formState.login.trim(), formState.password)
|
||||||
.onSuccess { sessionId ->
|
.onSuccess { sessionId ->
|
||||||
loggedInState.value = LoggedInState.LoggedIn(sessionId)
|
loggedInState.value = LoggedInState.LoggedIn(sessionId)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue