@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function withValidator($validator) |
| 44 | 44 | { |
| 45 | - $validator->after(function ($validator) { |
|
| 45 | + $validator->after(function($validator) { |
|
| 46 | 46 | // check old password matches |
| 47 | 47 | if (!Hash::check($this->input('old_password'), backpack_auth()->user()->password)) { |
| 48 | 48 | $validator->errors()->add('old_password', trans('backpack::base.old_password_incorrect')); |
@@ -10,14 +10,14 @@ |
||
| 10 | 10 | protected $table = 'users'; |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - * Send the password reset notification. |
|
| 14 | - * |
|
| 15 | - * @param string $token |
|
| 16 | - * @return void |
|
| 17 | - */ |
|
| 13 | + * Send the password reset notification. |
|
| 14 | + * |
|
| 15 | + * @param string $token |
|
| 16 | + * @return void |
|
| 17 | + */ |
|
| 18 | 18 | public function sendPasswordResetNotification($token) |
| 19 | 19 | { |
| 20 | - $this->notify(new ResetPasswordNotification($token)); |
|
| 20 | + $this->notify(new ResetPasswordNotification($token)); |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |