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