Redirect unauthenticated users to /i to get device token, if exists
This commit is contained in:
parent
bd03f2709e
commit
ca8a6d3456
@ -3,4 +3,4 @@ html
|
|||||||
title Login | #{_app.name}
|
title Login | #{_app.name}
|
||||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||||
script.
|
script.
|
||||||
window.location.href = 'auth/login'
|
window.location.href = 'i'
|
@ -45,4 +45,4 @@ html
|
|||||||
p.flitter-text Welcome, #{user.uid}! <a href="/auth/logout">Log out.</a>
|
p.flitter-text Welcome, #{user.uid}! <a href="/auth/logout">Log out.</a>
|
||||||
else
|
else
|
||||||
.flitter-container
|
.flitter-container
|
||||||
p.flitter-text <a href="/auth/login">Get started here.</a>
|
p.flitter-text <a href="/i">Get started here.</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user