login page ui changes

This commit is contained in:
2022-11-29 19:50:02 +05:30
vanhempi c11d4f2aa4
commit 62220212ed
3 muutettua tiedostoa jossa 12 lisäystä ja 6 poistoa
+2 -1
Näytä tiedosto
@@ -76,7 +76,8 @@ function loginUser(email, password) {
.then((response) => response.text())
.then((result) => {
const user = JSON.parse(result);
setCookie('authentication', JSON.stringify(user.sessionId), 1);
setCookie('authentication', user.result.sessionId, 1);
window.location = '../authentication';
})
.catch((error) => console.log('error', error));
}