fix login

This commit is contained in:
naielv
2025-12-25 01:11:14 +01:00
parent ab4a05bc7f
commit 8802952e5a

View File

@@ -39,6 +39,8 @@ PAGES.login = {
try {
DB.init({ secret: SECRET, remoteServer: url, username: user, password: pass, dbname: dbname || undefined });
toastr.success('Iniciando sincronización con CouchDB');
location.hash = "#login";
location.reload();
} catch (e) {
toastr.error('Error al iniciar sincronización: ' + e.message);
}