diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-03-20 19:43:25 +0200 |
---|---|---|
committer | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-03-20 19:43:25 +0200 |
commit | c060b30e20caa18e717ab91146176b71d989ecbf (patch) | |
tree | 9985864b04a918b93da30921323b9973121ae8fd | |
parent | bb4cb796536584428018951ce15f8aa3521d0f97 (diff) |
Fix #62
-rw-r--r-- | layouts/partials/js.html | 12 |
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 |