mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 00:03:37 +08:00
Fix email confirmation links
This commit is contained in:
parent
6b6e882770
commit
15901fbf5a
|
@ -81,7 +81,7 @@ class SendConfirmationEmailController implements RequestHandlerInterface
|
|||
|
||||
$data = [
|
||||
'{username}' => $actor->username,
|
||||
'{url}' => $this->url->to('forum')->route('confirmEmail', ['token' => $token->id]),
|
||||
'{url}' => $this->url->to('forum')->route('confirmEmail', ['token' => $token->token]),
|
||||
'{forum}' => $this->settings->get('forum_title')
|
||||
];
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ class EmailConfirmationMailer
|
|||
|
||||
return [
|
||||
'{username}' => $user->display_name,
|
||||
'{url}' => $this->url->to('forum')->route('confirmEmail', ['token' => $token->id]),
|
||||
'{url}' => $this->url->to('forum')->route('confirmEmail', ['token' => $token->token]),
|
||||
'{forum}' => $this->settings->get('forum_title')
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user