Update web/auth-login.html
Browse files- web/auth-login.html +1 -0
web/auth-login.html
CHANGED
|
@@ -109,6 +109,7 @@
|
|
| 109 |
}
|
| 110 |
$('#generalError').removeClass('alert-danger').addClass('alert-success')
|
| 111 |
.text('¡Bienvenido! Redirigiendo...').show();
|
|
|
|
| 112 |
setTimeout(() => { window.location.href = 'index.html'; }, 800);
|
| 113 |
} else {
|
| 114 |
const msg = response?.message || 'Usuario o contraseña incorrectos';
|
|
|
|
| 109 |
}
|
| 110 |
$('#generalError').removeClass('alert-danger').addClass('alert-success')
|
| 111 |
.text('¡Bienvenido! Redirigiendo...').show();
|
| 112 |
+
sessionStorage.setItem('justLoggedIn', 'true');
|
| 113 |
setTimeout(() => { window.location.href = 'index.html'; }, 800);
|
| 114 |
} else {
|
| 115 |
const msg = response?.message || 'Usuario o contraseña incorrectos';
|