Add trim to username input on sign-in
Add trim to username input on the app side and SDK side Signed-off-by: ByeongsuPark <byeongsu@soongsil.ac.kr>
This commit is contained in:
parent
9335242ce1
commit
75d589bedd
|
@ -0,0 +1 @@
|
|||
Add trim to username input on the app side and SDK side when sign-in
|
|
@ -69,7 +69,7 @@ internal class DefaultLoginWizard(
|
|||
)
|
||||
} else {
|
||||
PasswordLoginParams.userIdentifier(
|
||||
user = login,
|
||||
user = login.trim(),
|
||||
password = password,
|
||||
deviceDisplayName = initialDeviceName,
|
||||
deviceId = deviceId
|
||||
|
|
|
@ -684,7 +684,7 @@ class LoginViewModel @AssistedInject constructor(
|
|||
currentJob = viewModelScope.launch {
|
||||
try {
|
||||
safeLoginWizard.login(
|
||||
action.username,
|
||||
action.username.trim(),
|
||||
action.password,
|
||||
action.initialDeviceName
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue