Skip to content
Snippets Groups Projects
Commit e94d77b4 authored by Richard Fernando Heise Ferreira's avatar Richard Fernando Heise Ferreira Committed by Stephanie Briere Americo
Browse files

Issue #17: Fix SignIn route

parent 7ff3f115
No related branches found
No related tags found
3 merge requests!58Version 1.1,!54Issue #53: Fix password info,!15Issue/4
......@@ -100,6 +100,7 @@ export default function SignIn() {
if (!response.data.error) {
alert("Você logou com sucesso.")
window.sessionStorage.setItem("token", response.data.token);
window.sessionStorage.setItem("userId", response.data.id);
// redirecionar para a main page
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment