From c060b30e20caa18e717ab91146176b71d989ecbf Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Wed, 20 Mar 2019 19:43:25 +0200 Subject: Fix #62 --- layouts/partials/js.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'layouts/partials') 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 -- cgit v1.2.3-70-g09d2