bug fixed

This commit is contained in:
richard-loafle 2020-04-07 14:43:00 +09:00
parent 01fa50b480
commit 68099247c1

View File

@ -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
}; };