forked from directus/v8-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change user is not loggedin exception name
- Loading branch information
1 parent
5bb071f
commit d6a0313
Showing
4 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/core/Directus/Authentication/Exception/UserIsNotLoggedInException.php
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
src/core/Directus/Authentication/Exception/UserNotAuthenticatedException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace Directus\Authentication\Exception; | ||
|
||
use Directus\Exception\Exception; | ||
|
||
class UserNotAuthenticatedException extends Exception | ||
{ | ||
const ERROR_CODE = 108; | ||
|
||
public function __construct($message = 'User not authenticated') | ||
{ | ||
parent::__construct($message, static::ERROR_CODE); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters