bug fixed
This commit is contained in:
parent
01fa50b480
commit
68099247c1
|
@ -89,16 +89,16 @@ export class AppAuthenticationService {
|
|||
) {
|
||||
const prevLoginSession = this.loginSession;
|
||||
|
||||
loginSession = {
|
||||
const newLoginSession = {
|
||||
...prevLoginSession,
|
||||
...loginSession,
|
||||
localeCode: LocaleCode.Korean
|
||||
};
|
||||
const encLoginPw = PasswordUtil.encrypt(loginSession.loginPw);
|
||||
const encLoginPw = PasswordUtil.encrypt(newLoginSession.loginPw);
|
||||
|
||||
this.loginSession = {
|
||||
...loginSession,
|
||||
initPw: loginSession.loginId === loginSession.loginPw,
|
||||
...newLoginSession,
|
||||
initPw: newLoginSession.loginId === newLoginSession.loginPw,
|
||||
loginPw: encLoginPw
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user