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