Redirect unauthenticated users to /i to get device token, if exists
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2020-10-23 12:02:06 -05:00
parent bd03f2709e
commit ca8a6d3456
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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>