forked from Alex/Pterodactyl-Panel
url encode email in password reset link
This commit is contained in:
parent
5f284dad1d
commit
44c668e208
@ -57,7 +57,7 @@ class SendPasswordReset extends Notification implements ShouldQueue
|
|||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject('Reset Password')
|
->subject('Reset Password')
|
||||||
->line('You are receiving this email because we received a password reset request for your account.')
|
->line('You are receiving this email because we received a password reset request for your account.')
|
||||||
->action('Reset Password', url('/auth/password/reset/' . $this->token . '?email=' . $notifiable->email))
|
->action('Reset Password', url('/auth/password/reset/' . $this->token . '?email=' . urlencode($notifiable->email)))
|
||||||
->line('If you did not request a password reset, no further action is required.');
|
->line('If you did not request a password reset, no further action is required.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user