Passed
Pull Request — main (#5039)
by
unknown
08:25
created
app/Http/RequestHandlers/LoginAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,8 +137,7 @@
 block discarded – undo
137 137
             if (!$user->check2FAcode($code2fa)) {
138 138
                     throw new Exception(I18N::translate('2FA code does not match. Please try again.'));
139 139
             }
140
-          }
141
-          else {
140
+          } else {
142 141
                     throw new Exception(I18N::translate('2FA code must be entered as you have 2FA authentication enabled. Please try again.'));
143 142
           }
144 143
         }
Please login to merge, or discard this patch.