1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-11-24 22:42:46 +01:00
Nextcloud-News/lib/Controller/Exceptions/NotLoggedInException.php
Sean Molenaar 11f5904dd5 Fix mapper->find and empty user sessions
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
2020-12-17 10:35:23 +01:00

15 lines
276 B
PHP

<?php
namespace OCA\News\Controller\Exceptions;
use Throwable;
class NotLoggedInException extends \Exception
{
public function __construct(?string $message = null)
{
parent::__construct($message ?? 'Unauthorized: User is not logged in!', 0, null);
}
}