@@ -30,7 +30,7 @@ discard block |
||
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 |
||
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(); |
@@ -69,7 +69,7 @@ |
||
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 | } |