@@ -91,8 +91,7 @@ discard block |
||
91 | 91 | { |
92 | 92 | if ($login_unlock_time > $now) |
93 | 93 | { |
94 | - throw new \Exception |
|
95 | - ( |
|
94 | + throw new \Exception( |
|
96 | 95 | \ICanBoogie\format("The user account has been locked after multiple failed login attempts. |
97 | 96 | An e-mail has been sent to unlock the account. Login attempts are locked until %time, |
98 | 97 | unless you unlock the account using the email sent.", [ |
@@ -168,7 +167,7 @@ discard block |
||
168 | 167 | |
169 | 168 | if (!$user->is_admin && !$user->is_activated) |
170 | 169 | { |
171 | - $errors->add_generic("User %username is not activated", [ '%username' => $username ]); |
|
170 | + $errors->add_generic("User %username is not activated", ['%username' => $username]); |
|
172 | 171 | |
173 | 172 | return false; |
174 | 173 | } |