summaryrefslogtreecommitdiffstats
path: root/Core/User
diff options
context:
space:
mode:
Diffstat (limited to 'Core/User')
-rw-r--r--Core/User/UserChecker.php2
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;
}