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