mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-15 02:28:15 +02:00
removed legacy remember me redirect
This commit is contained in:
1 parent
d4026ce60f
commit
97b85334a9
10 files changed
+91
-116
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user