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 {
|
} else {
|
||||||
PasswordLoginParams.userIdentifier(
|
PasswordLoginParams.userIdentifier(
|
||||||
user = login,
|
user = login.trim(),
|
||||||
password = password,
|
password = password,
|
||||||
deviceDisplayName = initialDeviceName,
|
deviceDisplayName = initialDeviceName,
|
||||||
deviceId = deviceId
|
deviceId = deviceId
|
||||||
|
|
|
@ -684,7 +684,7 @@ class LoginViewModel @AssistedInject constructor(
|
||||||
currentJob = viewModelScope.launch {
|
currentJob = viewModelScope.launch {
|
||||||
try {
|
try {
|
||||||
safeLoginWizard.login(
|
safeLoginWizard.login(
|
||||||
action.username,
|
action.username.trim(),
|
||||||
action.password,
|
action.password,
|
||||||
action.initialDeviceName
|
action.initialDeviceName
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue