mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-20 13:30:50 +02:00
added superuser ips whitelist
This commit is contained in:
@@ -235,12 +235,4 @@ window.app.checkApiError = function(err, showToast = true) {
|
||||
app.pb.cancelAllRequests();
|
||||
return app.pb.authStore.clear();
|
||||
}
|
||||
|
||||
// forbidden
|
||||
if (statusCode === 403) {
|
||||
app.pb.cancelAllRequests();
|
||||
if (window.location.hash != LOGIN_PATH) {
|
||||
window.location.hash = LOGIN_PATH;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user