From a791886087033cff6309ffca767a65cfd5402415 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 30 Sep 2023 19:57:39 +0100 Subject: Update to new IceSpider interface --- gentoobrowse/src/base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- cgit v1.2.3