mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
Fix email confirmation route
This commit is contained in:
parent
c9d7ac7a88
commit
081dde346d
|
@ -35,7 +35,7 @@ class EmailConfirmationMailer
|
|||
$data = [
|
||||
'username' => $user->username,
|
||||
'forumTitle' => $forumTitle,
|
||||
'url' => route('flarum.confirm', ['id' => $user->id, 'token' => $user->confirmation_token])
|
||||
'url' => route('flarum.forum.confirm', ['id' => $user->id, 'token' => $user->confirmation_token])
|
||||
];
|
||||
|
||||
$this->mailer->send(['text' => 'flarum::emails.confirm'], $data, function ($message) use ($user, $forumTitle) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user