marked google oauth users as external

This commit is contained in:
thomasDOTde 2017-11-01 22:30:08 +01:00
parent 0a72a17e4c
commit 37fee207a5

View File

@ -273,6 +273,7 @@ def login():
session['user_id'] = user.id session['user_id'] = user.id
login_user(user, remember = False) login_user(user, remember = False)
session['external_auth'] = True
return redirect(url_for('index')) return redirect(url_for('index'))
if 'github_token' in session: if 'github_token' in session: