Add event-admin password reset flow
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-06 11:02:09 +01:00
parent 51e8beb46c
commit 54b3fa0d87
17 changed files with 1080 additions and 81 deletions

View File

@@ -20,4 +20,15 @@ class ResetPasswordNotification extends ResetPassword
'expiresIn' => $expire,
]);
}
protected function resetUrl($notifiable): string
{
$email = method_exists($notifiable, 'getEmailForPasswordReset')
? $notifiable->getEmailForPasswordReset()
: $notifiable->email;
$query = http_build_query(['email' => $email]);
return url("/event-admin/reset-password/{$this->token}?{$query}");
}
}