@@ -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')); |