diff options
author | Alexander <iam.asm89@gmail.com> | 2013-01-07 20:34:14 +0100 |
---|---|---|
committer | Alexander <iam.asm89@gmail.com> | 2013-01-07 21:11:19 +0100 |
commit | f116f931eaf85af90449300267c91bd8a22175c2 (patch) | |
tree | 7d88229d3dd017fe5d6032f0cea12c606b53bf8d /Core/User | |
parent | cd47f40584b192f6bc94e48dfbe7545280f382c9 (diff) | |
download | symfony-security-f116f931eaf85af90449300267c91bd8a22175c2.zip symfony-security-f116f931eaf85af90449300267c91bd8a22175c2.tar.gz symfony-security-f116f931eaf85af90449300267c91bd8a22175c2.tar.bz2 |
[Security] Fix CS + unreachable code
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; } |