Administrator Views verbessert

This commit is contained in:
concierge committed 2026-10-25 11:11:37 +01:00
1 parent ffdb399f9e
commit 0a2070fcf5
12 files changed
+247 -12

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ def login(**kwargs):
# Rollenbasierte Weiterleitung
role = account['role']
if role == 'Administrator':
return redirect(url_for('admin.accounts', tenant=tenant_selected))
return redirect(url_for('admin.dashboard', tenant=tenant_selected))
elif role == 'Dispatcher':
return redirect(url_for('views.dispatcher', tenant=tenant_selected))
elif role == 'Beobachter':