aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/js.html
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-04-08 21:46:03 +0300
committerGitHub <noreply@github.com>2019-04-08 21:46:03 +0300
commitd69ebc475fc67c65c52c206b7cc1eb70e1633645 (patch)
tree4808b9ae6e28372ced486b1e827d8300406dcbe0 /layouts/partials/js.html
parent9c2eb26b5732e0a9087dd024f7fd0b10fec9ef74 (diff)
parent7f610d23ed696d050ed2d1e405f6bba339a497c4 (diff)
cState v3.1.0 | #54 | here goes nothing
cState v3.1.0
Diffstat (limited to 'layouts/partials/js.html')
-rw-r--r--layouts/partials/js.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index af3bb80..388b706 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v3.0.0 - Stable 2019-01-24 - https://github.com/cstate/cstate');
+ console.log('cState v3.1.0 - Stable 2019-04-08 - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
@@ -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