Auth fix
This commit is contained in:
@@ -15,7 +15,6 @@ def auth():
|
||||
'login': auth_data.result[0]['login'],
|
||||
'access_user': data['access'],
|
||||
'role': auth_data.result[0]['user_role'],
|
||||
'db_config': current_app.config['db_config'],
|
||||
'permanent': True
|
||||
})
|
||||
return redirect(url_for('index'))
|
||||
|
||||
Reference in New Issue
Block a user