mirror of
https://github.com/flarum/core.git
synced 2025-10-15 00:44:40 +02:00
Change base URL etc. in config.php file
This commit is contained in:
@@ -76,7 +76,7 @@ class RequestPasswordResetHandler
|
||||
// password route be part of core??
|
||||
$data = [
|
||||
'username' => $user->username,
|
||||
'url' => $this->settings->get('base_url').'/reset/'.$token->id,
|
||||
'url' => Core::url().'/reset/'.$token->id,
|
||||
'forumTitle' => $this->settings->get('forum_title'),
|
||||
];
|
||||
|
||||
|
@@ -108,7 +108,7 @@ class EmailConfirmationMailer
|
||||
// email route be part of core??
|
||||
return [
|
||||
'username' => $user->username,
|
||||
'url' => $this->settings->get('base_url').'/confirm/'.$token->id,
|
||||
'url' => Core::url().'/confirm/'.$token->id,
|
||||
'forumTitle' => $this->settings->get('forum_title')
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user