aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-03-20 19:43:25 +0200
committerMantas <11616378+mistermantas@users.noreply.github.com>2019-03-20 19:43:25 +0200
commitc060b30e20caa18e717ab91146176b71d989ecbf (patch)
tree9985864b04a918b93da30921323b9973121ae8fd /layouts
parentbb4cb796536584428018951ce15f8aa3521d0f97 (diff)
Fix #62
Diffstat (limited to 'layouts')
-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