diff options
author | Ed Tanous <edtanous@google.com> | 2023-06-16 21:32:36 +0300 |
---|---|---|
committer | Ed Tanous <edtanous@google.com> | 2023-06-17 00:19:43 +0300 |
commit | c3b3ad033400cc455cdce6601a982fa94405e84a (patch) | |
tree | 174a03c8ebbf4e399c15cd1a3d1ef63e048c4104 /include | |
parent | 7e9c08ede1dad0068d3e10955b75202fd9193999 (diff) | |
download | bmcweb-c3b3ad033400cc455cdce6601a982fa94405e84a.tar.xz |
Set cookieAuth variable for cookie
Change-Id: Ib5fb6dcfaf63520cbc07ca909e0806480440296a
Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/authentication.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/authentication.hpp b/include/authentication.hpp index 0e5e88060a..9e3405be63 100644 --- a/include/authentication.hpp +++ b/include/authentication.hpp @@ -156,6 +156,7 @@ static std::shared_ptr<persistent_data::UserSession> { return nullptr; } + sessionOut->cookieAuth = true; #ifndef BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION // RFC7231 defines methods that need csrf protection if (method != boost::beast::http::verb::get) |