summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-09-30 19:57:39 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-10-07 12:30:18 +0100
commita791886087033cff6309ffca767a65cfd5402415 (patch)
tree535ed6bb474d546668e92e99d40e5a7cf98de37f
parentSimplified/faster sitemap generation (diff)
downloadgentoobrowse-main.tar.bz2
gentoobrowse-main.tar.xz
gentoobrowse-main.zip
Update to new IceSpider interfaceHEADgentoobrowse-2.1.10main
-rw-r--r--gentoobrowse/src/base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/src/base.cpp b/gentoobrowse/src/base.cpp
index 23b5aa8..738b34e 100644
--- a/gentoobrowse/src/base.cpp
+++ b/gentoobrowse/src/base.cpp
@@ -11,7 +11,7 @@ namespace GentooBrowse {
::Gentoo::UserPtr
common::currentUser(const IceSpider::IHttpRequest * request) const
{
- if (auto sid = request->getCookieParam("sessionId")) {
+ if (auto sid = request->getCookieParamStr("sessionId")) {
if (auto s = prx0->getSession(std::string(*sid))) {
auto uid = s->variables.find("userId");
if (uid != s->variables.end()) {