mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 13:25:03 +00:00
Detect expired dashboard logins and redirect to the splash page
This commit is contained in:
parent
f3a90faaa7
commit
8f5a9e607a
4 changed files with 12 additions and 1 deletions
|
@ -22,6 +22,7 @@ if (window.location.pathname !== "/") {
|
|||
|
||||
const errorMessages = {
|
||||
noAccess: "No dashboard access. If you think this is a mistake, please contact your server owner.",
|
||||
expiredLogin: "Dashboard login expired. Please log in again.",
|
||||
};
|
||||
|
||||
const errorMessageElem = document.createElement("div");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue