diff options
-rw-r--r-- | gentoobrowse/src/base.cpp | 2 |
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()) { |