From 081dde346d475531887b70f76ae24e0a99f84367 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 25 Apr 2015 22:34:33 +0930 Subject: [PATCH] Fix email confirmation route --- .../core/src/Core/Handlers/Events/EmailConfirmationMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Core/Handlers/Events/EmailConfirmationMailer.php b/framework/core/src/Core/Handlers/Events/EmailConfirmationMailer.php index 9b3f4f0c8..2a5950bc5 100755 --- a/framework/core/src/Core/Handlers/Events/EmailConfirmationMailer.php +++ b/framework/core/src/Core/Handlers/Events/EmailConfirmationMailer.php @@ -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) {