Skip to content

Commit

Permalink
Prducto.html
Browse files Browse the repository at this point in the history
  • Loading branch information
luka0808 committed Dec 5, 2023
1 parent 5a7538e commit b4438ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pagina Ventas/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="header-iconos">
<div class="header-registro">
<button type="button" id="login-abrir-modal">Login in</button>
<button type="button"><a href="/login2/admin.html">Administrador</a></button>
<button type="button"><a href="/AdmProducto/productos.html">Administrador</a></button>
</div>

<dialog id="modal-login">
Expand Down
2 changes: 1 addition & 1 deletion login2/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

// Check username and password
if (username === 'admin' && password === '12345') {
window.location.href ='/AdmProductos/productos.html';
window.location.href ='/AdmProducto/producto.html';
} else {
alert('Usuario o contraseña incorrectos.');
}
Expand Down

0 comments on commit b4438ac

Please # to comment.