Правка проверки на пользователя + корректировка содержаний модулей

This commit is contained in:
2024-11-05 15:46:40 +03:00
parent cf4c1d2162
commit f9ea3c56cd
7 changed files with 20 additions and 35 deletions

View File

@@ -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'))