aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/js.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/js.html')
-rw-r--r--layouts/partials/js.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 2e224a1..088cc44 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -27,6 +27,18 @@
if (window.location.hash.match('access_token')) {
document.location.pathname = '/admin';
}
+ if (window.location.hash.match('invite_token')) {
+ document.location.pathname = '/admin';
+ }
+ if (window.location.hash.match('confirmation_token')) {
+ document.location.pathname = '/admin';
+ }
+ if (window.location.hash.match('email_change_token')) {
+ document.location.pathname = '/admin';
+ }
+ if (window.location.hash.match('recovery_token')) {
+ document.location.pathname = '/admin';
+ }
/**
* Timer