diff options
author | wn_ <[email protected]> | 2022-11-28 17:40:42 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2022-11-28 17:40:42 +0000 |
commit | a355221e7f650b151fe866174152d686c1c2d146 (patch) | |
tree | c72fb6a3261681ec854a61340338fc01b44fdfe0 /plugins | |
parent | 94c49399cc10c1f7001e8c76db7575b70e1fc674 (diff) |
Consistently get the self URL.
This ensures all uses of the self URL get the same normalized/sanitized value.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/auth_internal/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/auth_internal/init.php b/plugins/auth_internal/init.php index 882b5506a..135e4d3ed 100644 --- a/plugins/auth_internal/init.php +++ b/plugins/auth_internal/init.php @@ -224,7 +224,7 @@ class Auth_Internal extends Auth_Base { $tpl->readTemplateFromFile("password_change_template.txt"); $tpl->setVariable('LOGIN', $user->login); - $tpl->setVariable('TTRSS_HOST', Config::get(Config::SELF_URL_PATH)); + $tpl->setVariable('TTRSS_HOST', Config::get_self_url()); $tpl->addBlock('message'); |