fix(nav): Sicherheit/2FA & Konto-Datenschutz im Benutzer-Menü auffindbar (v1.8.3)
2FA lag unter /settings, war aber über kein Menü erreichbar. Neu im Benutzer-Menü (Desktop-Dropdown + Mobil-Menü): "Sicherheit & 2FA" (→ /settings) und "Konto & Datenschutz" (→ /konto/datenschutz). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -370,6 +370,14 @@ export function Topbar({
|
||||
<Key className="w-4 h-4 mr-2" />
|
||||
Kennwort ändern
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => window.location.href = '/settings'}>
|
||||
<Lock className="w-4 h-4 mr-2" />
|
||||
Sicherheit & 2FA
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => window.location.href = '/konto/datenschutz'}>
|
||||
<Shield className="w-4 h-4 mr-2" />
|
||||
Konto & Datenschutz
|
||||
</DropdownMenuItem>
|
||||
{(userRole === 'SERVER_ADMIN' || userRole === 'TENANT_ADMIN') && (
|
||||
<DropdownMenuItem onClick={() => window.location.href = '/admin'}>
|
||||
<Shield className="w-4 h-4 mr-2" />
|
||||
@@ -492,6 +500,14 @@ export function Topbar({
|
||||
<Key className="w-4 h-4 mr-2" />
|
||||
Kennwort ändern
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => window.location.href = '/settings'}>
|
||||
<Lock className="w-4 h-4 mr-2" />
|
||||
Sicherheit & 2FA
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem onClick={() => window.location.href = '/konto/datenschutz'}>
|
||||
<Shield className="w-4 h-4 mr-2" />
|
||||
Konto & Datenschutz
|
||||
</DropdownMenuItem>
|
||||
{onLogout && (
|
||||
<DropdownMenuItem onClick={onLogout} className="text-destructive focus:text-destructive">
|
||||
<LogOut className="w-4 h-4 mr-2" />
|
||||
|
||||
Reference in New Issue
Block a user