login page ui changes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user