Add event-admin password reset flow
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user