Passed
Pull Request — master (#1127)
by Iman
03:38
created
src/Modules/AuthModule/AuthController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     public function getLockscreen()
32 32
     {
33
-        if (! CRUDBooster::myId()) {
33
+        if (!CRUDBooster::myId()) {
34 34
             Session::flush();
35 35
             return redirect()->route('getLogin')->with('message', cbTrans('alert_session_expired'));
36 36
         }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
     private function validateForgotPass()
98 98
     {
99
-        $validator = Validator::make(request()->all(), ['email' => 'required|email|exists:cms_users',]);
99
+        $validator = Validator::make(request()->all(), ['email' => 'required|email|exists:cms_users', ]);
100 100
 
101 101
         if ($validator->fails()) {
102 102
             $message = $validator->errors()->all();
Please login to merge, or discard this patch.
src/Modules/AuthModule/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     private function validatePassword($password, $users)
71 71
     {
72
-        if (! \Hash::check($password, $users->password)) {
72
+        if (!\Hash::check($password, $users->password)) {
73 73
             $resp = redirect()->route('getLogin')->with('message', cbTrans('alert_password_wrong'));
74 74
             sendAndTerminate($resp);
75 75
         }
Please login to merge, or discard this patch.