Akira-Kurusu commited on
Commit
52c2a75
·
verified ·
1 Parent(s): 64ba026

Update web/auth-login.html

Browse files
Files changed (1) hide show
  1. 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';