diff --git a/main.py b/main.py index 2a8fb429..29fb7030 100644 --- a/main.py +++ b/main.py @@ -161,7 +161,7 @@ def create_account(): render_template('account/user-profile.html', account=login_result )) - resp.set_cookie('userID', str(login_result.id)) + resp.set_cookie('userID', str(login_result["id"])) return resp else: resp = make_response(