@@ -39,7 +39,6 @@ |
||
| 39 | 39 | * Views do not have namespaces, so create shortcuts to common functions. |
| 40 | 40 | * |
| 41 | 41 | * @param float $n |
| 42 | - * @param int $precision |
|
| 43 | 42 | * |
| 44 | 43 | * @return string |
| 45 | 44 | */ |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | throw new \Exception(I18N::translate('The username or password is incorrect.')); |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | - if ($user->getPreference('verified') !=='1') { |
|
| 122 | + if ($user->getPreference('verified') !== '1') { |
|
| 123 | 123 | Log::addAuthenticationLog('Login failed (not verified by user): ' . $username); |
| 124 | 124 | throw new \Exception(I18N::translate('This account has not been verified. Please check your email for a verification message.')); |
| 125 | 125 | } |