@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function withValidator($validator) |
43 | 43 | { |
44 | - $validator->after(function ($validator) { |
|
44 | + $validator->after(function($validator) { |
|
45 | 45 | // check old password matches |
46 | 46 | if (!Hash::check($this->input('old_password'), \Auth::user()->password)) { |
47 | 47 | $validator->errors()->add('old_password', trans('backpack::base.old_password_wrong')); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | 'middleware' => 'web', |
17 | 17 | 'prefix' => config('backpack.base.route_prefix'), |
18 | 18 | ], |
19 | -function () { |
|
19 | +function() { |
|
20 | 20 | // if not otherwise configured, setup the auth routes |
21 | 21 | if (config('backpack.base.setup_auth_routes')) { |
22 | 22 | // Authentication Routes... |