Einstellungen im Profilmenü verlinken

This commit is contained in:
torsten 2026-11-08 20:21:48 +01:00
parent 920b8e895a
commit 972fec83ab
4 changed files with 19 additions and 1 deletions

View file

@ -48,6 +48,18 @@ class UserController
]);
}
/** Leitet zu den eigenen Profil-Einstellungen weiter. */
public function settings(): void
{
$userId = Auth::id();
if ($userId === null) {
redirect('/login');
}
redirect('/member/' . $userId . '/edit');
}
public function create(): void
{
// Im Original ohne Funktion.