diff --git a/web/account.py b/web/account.py index 6766cfb..8ecc703 100755 --- a/web/account.py +++ b/web/account.py @@ -87,7 +87,6 @@ def register(app): authorization_response=flask.request.url, ) - flask.session.permanent = True flask.session['discord_token'] = token flask.session['discord_id'] = discord_account.get(f'{API_URL}/users/@me').json()['id'] @@ -102,7 +101,6 @@ def register(app): except Exception as e: return f'Your token has expired. Please try logging in again.' - flask.session.permanent = True flask.session['discord_id'] = profile['id'] return flask.redirect('/') # DONE