diff --git a/server.py b/server.py index 1d1445b..9b89e5d 100644 --- a/server.py +++ b/server.py @@ -95,7 +95,7 @@ def login(): # Get username and token from args token = request.args.get("token") # Set token cookie - response = make_response(redirect("/inbox")) + response = make_response(redirect("/refresh")) response.set_cookie("token", token) return response diff --git a/templates/inbox.html b/templates/inbox.html index 21e3adc..cba8ac0 100644 --- a/templates/inbox.html +++ b/templates/inbox.html @@ -12,7 +12,7 @@
-

HNS Email

{{emails.email}} | Notifications | HNS Email  {{emails.email}} | Notifications | Logout

diff --git a/templates/notifications.html b/templates/notifications.html index 14ebbb5..f7d8757 100644 --- a/templates/notifications.html +++ b/templates/notifications.html @@ -12,7 +12,7 @@
-

HNS Email

{{email}} | Inbox | HNS Email  {{email}} | Inbox | Logout