Passed
Push — master ( 6955bf...21f25e )
by Eric
03:13
created
app/Http/Controllers/Auth/LoginController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,9 @@
 block discarded – undo
68 68
      */
69 69
     protected function attemptLogin(Request $request)
70 70
     {
71
-        if ($this->username() === 'email') return $this->attemptLoginAtAuthenticatesUsers($request);
71
+        if ($this->username() === 'email') {
72
+            return $this->attemptLoginAtAuthenticatesUsers($request);
73
+        }
72 74
         if ( ! $this->attemptLoginAtAuthenticatesUsers($request)) {
73 75
             return $this->attempLoginUsingUsernameAsAnEmail($request);
74 76
         }
Please login to merge, or discard this patch.