removed legacy remember me redirect

This commit is contained in:
Gani Georgiev committed 2026-05-26 18:22:17 +03:00
1 parent d4026ce60f
commit 97b85334a9
10 files changed
+91 -116

No files matched your search

+2 -2
View File
@@ -99,7 +99,7 @@ async function authWithPassword(data) {
await app.pb.collection("_superusers").authWithPassword(data.identity, data.password);
app.toasts.removeAll();
app.store.errors = null;
app.utils.toRememberedPath();
window.location.hash = "#/";
} catch (err) {
if (err.status == 401) {
data.mfaId = err.response.mfaId;
@@ -304,7 +304,7 @@ async function authWithOTP(data) {
});
app.toasts.removeAll();
app.store.errors = null;
app.utils.toRememberedPath();
window.location.hash = "#/";
} catch (err) {
app.checkApiError(err);
}