diff options
Diffstat (limited to 'Core/User')
-rw-r--r-- | Core/User/UserChecker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/User/UserChecker.php b/Core/User/UserChecker.php index 414bc31..8dde3a6 100644 --- a/Core/User/UserChecker.php +++ b/Core/User/UserChecker.php @@ -55,7 +55,7 @@ class UserChecker implements UserCheckerInterface } if (!$user->isEnabled()) { - throw new DisabledException('User account is disabled.'); + $ex = new DisabledException('User account is disabled.'); $ex->setUser($user); throw $ex; } |