Merge branch 'administativePages' of https://gitlab.com/kluppsoftware/smart-energia-web into administativePages
This commit is contained in:
commit
ba7cf92a5b
@ -70,7 +70,7 @@ export default function Home() {
|
||||
}else{
|
||||
try {
|
||||
await signIn({email, password}).then((res: any) => {
|
||||
if (res.response.status === 422) {
|
||||
if (res.response.status === 422 || res.response.status === 401) {
|
||||
setOpenSnackError(true)
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user