removed debug logs
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Edward Tirado Jr 2025-12-14 23:17:32 -06:00
parent 8167c3a3e7
commit efe979768c
3 changed files with 0 additions and 13 deletions

View file

@ -29,12 +29,8 @@ class PasswordReset extends Component
#[Layout('components.layouts.auth')]
public function resetPassword()
{
logger()->info("Validating password reset...");
logger()->info($this->form);
$validated = $this->form->validate();
logger()->info("Validated password reset", $validated);
$status = Password::reset(array_merge($validated, ['token' => $this->token]),
function (User $user, string $password) {
$user->forceFill([
@ -47,7 +43,6 @@ class PasswordReset extends Component
return redirect()->route('login');
}
logger()->error("Password reset failed", $status);
$this->addError('email', 'The provided credentials do not match our records.');
}