Merge pull request #2957 from pterodactyl/fix/password-reset-mail
URL encode mail address in password reset link
This commit is contained in:
commit
b352c04685
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue