mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-31 09:43:43 +00:00
marked google oauth users as external
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user