mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 01:38:28 +08:00
Fix email confirmation route
This commit is contained in:
parent
8491c4cbf8
commit
c6079c53c9
|
@ -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