Sending ResetPasswordMail across different panels #14893
Replies: 3 comments 1 reply
-
Could you share the code you are using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I solved it by setting the panel I need
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Before generating the url you can set the current panel
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two panels: admin (the default one) and user.
The idea is from the Admin panel I want to create new user and send reset password link after user is created. The issue I am having is when the email is sent, reset password link contains admin (default panel link) in the url. If I try to remove the admin part from the url I am getting an error Invalid Signature.
Is this even possible, if so how to send reset password mail/ notification?
`
protected function sendEmailVerificationNotification(Model $user): void
{
if (! $user instanceof MustVerifyEmail) {
return;
}
`
Beta Was this translation helpful? Give feedback.
All reactions