summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()) {