Skip to content

Commit

Permalink
Permanent flask session (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciguymjm authored and dtracers committed Oct 12, 2019
1 parent 7f9f158 commit 93832cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/blueprints/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def steam_process(session=None):
session.add(u)
session.commit()
flask_session['openid'] = user_id
flask_session.permanent = True
return redirect(url_for('home'))
return jsonify({'error': 'invalid openid credentials'})

Expand Down

0 comments on commit 93832cc

Please sign in to comment.