Consistently get the self URL.

This ensures all uses of the self URL get the same normalized/sanitized value.
This commit is contained in:
wn_
2022-11-28 17:40:42 +00:00
parent 94c49399cc
commit a355221e7f
6 changed files with 9 additions and 9 deletions

View File

@@ -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');