Skip to content

Commit

Permalink
Merge pull request #437 from freezingsaddles/persistent-login
Browse files Browse the repository at this point in the history
Persist session cookie for a month
  • Loading branch information
obscurerichard authored Jan 24, 2025
2 parents 96b7f2e + fe7c368 commit 6e5e80f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freezing/web/utils/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e5e80f

Please sign in to comment.