mirror of
https://github.com/nextcloud/server.git
synced 2026-10-24 12:17:23 +02:00
Easer than having to use the `?string $userId` from the controller constructor or IUserSession service directly. Throw a user not logged in exception in case the user doesn't exists which is then catched by the security middleware to show a proper exception. Signed-off-by: Carl Schwan <carl@carlschwan.eu>