WebAPI: Append port to session cookie name

PR #23228.
Closes #21651.
This commit is contained in:
Tom Piccirello
2025-09-18 22:29:46 -07:00
committed by GitHub
parent c075097acd
commit 753fb80e9b
3 changed files with 2 additions and 39 deletions

View File

@@ -924,19 +924,6 @@ void Preferences::setWebUISessionTimeout(const int timeout)
setValue(u"Preferences/WebUI/SessionTimeout"_s, timeout);
}
QString Preferences::getWebAPISessionCookieName() const
{
return value<QString>(u"WebAPI/SessionCookieName"_s);
}
void Preferences::setWebAPISessionCookieName(const QString &cookieName)
{
if (cookieName == getWebAPISessionCookieName())
return;
setValue(u"WebAPI/SessionCookieName"_s, cookieName);
}
bool Preferences::isWebUIClickjackingProtectionEnabled() const
{
return value(u"Preferences/WebUI/ClickjackingProtection"_s, true);