We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -44,13 +44,13 @@ |
||
44 | 44 | // ---------------------------------- |
45 | 45 | |
46 | 46 | // If not logged in redirect here. |
47 | - $this->loginPath = ! empty($this->loginPath) ? $this->loginPath : backpack_url('login'); |
|
47 | + $this->loginPath = !empty($this->loginPath) ? $this->loginPath : backpack_url('login'); |
|
48 | 48 | |
49 | 49 | // Redirect here after successful login. |
50 | - $this->redirectTo = ! empty($this->redirectTo) ? $this->redirectTo : backpack_url('dashboard'); |
|
50 | + $this->redirectTo = !empty($this->redirectTo) ? $this->redirectTo : backpack_url('dashboard'); |
|
51 | 51 | |
52 | 52 | // Redirect here after logout. |
53 | - $this->redirectAfterLogout = ! empty($this->redirectAfterLogout) ? $this->redirectAfterLogout : backpack_url('login'); |
|
53 | + $this->redirectAfterLogout = !empty($this->redirectAfterLogout) ? $this->redirectAfterLogout : backpack_url('login'); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $this->middleware("guest:$guard"); |
39 | 39 | |
40 | 40 | // Where to redirect users after login / registration. |
41 | - $this->redirectTo = ! empty($this->redirectTo) ? $this->redirectTo : config('backpack.base.route_prefix', 'dashboard'); |
|
41 | + $this->redirectTo = !empty($this->redirectTo) ? $this->redirectTo : config('backpack.base.route_prefix', 'dashboard'); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | public function showRegistrationForm() |
88 | 88 | { |
89 | 89 | // if registration is closed, deny access |
90 | - if (! config('backpack.base.registration_open')) { |
|
90 | + if (!config('backpack.base.registration_open')) { |
|
91 | 91 | abort(403, trans('backpack::base.registration_closed')); |
92 | 92 | } |
93 | 93 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | public function register(Request $request) |
106 | 106 | { |
107 | 107 | // if registration is closed, deny access |
108 | - if (! config('backpack.base.registration_open')) { |
|
108 | + if (!config('backpack.base.registration_open')) { |
|
109 | 109 | abort(403, trans('backpack::base.registration_closed')); |
110 | 110 | } |
111 | 111 |
@@ -48,12 +48,12 @@ discard block |
||
48 | 48 | |
49 | 49 | $this->middleware("guest:$guard"); |
50 | 50 | |
51 | - if (! backpack_users_have_email()) { |
|
51 | + if (!backpack_users_have_email()) { |
|
52 | 52 | abort(501, trans('backpack::base.no_email_column')); |
53 | 53 | } |
54 | 54 | |
55 | 55 | // where to redirect after password was reset |
56 | - $this->redirectTo = ! empty($this->redirectTo) ? $this->redirectTo : backpack_url('dashboard'); |
|
56 | + $this->redirectTo = !empty($this->redirectTo) ? $this->redirectTo : backpack_url('dashboard'); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | // ------------------------------------------------------- |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | // will update the password on an actual user model and persist it to the |
93 | 93 | // database. Otherwise we will parse the error and return the response. |
94 | 94 | $response = $this->broker()->reset( |
95 | - $this->credentials($request), function ($user, $password) { |
|
95 | + $this->credentials($request), function($user, $password) { |
|
96 | 96 | $this->resetPassword($user, $password); |
97 | 97 | } |
98 | 98 | ); |