parent
304d947536
commit
d2bc791d74
6 changed files with 20 additions and 136 deletions
|
@ -23,7 +23,7 @@ class AccountCreated extends Notification implements ShouldQueue
|
|||
/**
|
||||
* The user model for the created user.
|
||||
*
|
||||
* @var object
|
||||
* @var \Pterodactyl\Models\User
|
||||
*/
|
||||
public $user;
|
||||
|
||||
|
@ -65,7 +65,7 @@ class AccountCreated extends Notification implements ShouldQueue
|
|||
->line('Email: ' . $this->user->email);
|
||||
|
||||
if (! is_null($this->token)) {
|
||||
return $message->action('Setup Your Account', url('/auth/password/reset/' . $this->token . '?email=' . $this->user->email));
|
||||
return $message->action('Setup Your Account', url('/auth/password/reset/' . $this->token . '?email=' . urlencode($this->user->email)));
|
||||
}
|
||||
|
||||
return $message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue