Правка проверки на пользователя + корректировка содержаний модулей
This commit is contained in:
@@ -16,6 +16,7 @@ def auth():
|
||||
'login': auth_data.result[0]['login'],
|
||||
'role': auth_data.result[0]['user_role'],
|
||||
'db_config': current_app.config['db_config'],
|
||||
'access_user': 'in' if 'internal' in data else 'ext',
|
||||
'permanent': True
|
||||
})
|
||||
return redirect(url_for('index'))
|
||||
Reference in New Issue
Block a user