diff --git a/freezing/web/utils/auth.py b/freezing/web/utils/auth.py index 1c34559..1bde61f 100644 --- a/freezing/web/utils/auth.py +++ b/freezing/web/utils/auth.py @@ -11,6 +11,7 @@ def login_athlete(strava_athlete): + session.permanent = True session["athlete_id"] = strava_athlete.id session["athlete_avatar"] = strava_athlete.profile_medium session["athlete_fname"] = strava_athlete.firstname