input('password'), $this->user()->password)) { throw new InvalidPasswordProvidedException(trans('base.account.invalid_password')); } return true; } /** * @return array */ public function rules(): array { $rules = User::getUpdateRulesForId($this->user()->id); return ['email' => $rules['email']]; } }