File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2421,21 +2421,21 @@ limhamn::http::server::response ff::handle_api_stay_logged_in(const limhamn::htt
24212421
24222422 response.cookies .push_back (limhamn::http::server::cookie{
24232423 .name = settings.session_cookie_name ,
2424- .expires = expires,
24252424 .value = request.session_id ,
2426- .http_only = true ,
2427- .same_site = " Strict" ,
2425+ .expires = expires,
24282426 .path = " /" ,
2427+ .same_site = " Strict" ,
2428+ .http_only = true ,
24292429 });
24302430 for (const auto & it : request.cookies ) {
24312431 if (it.name == " username" || it.name == " user_type" ) {
24322432 response.cookies .push_back (limhamn::http::server::cookie{
24332433 .name = it.name ,
2434- .expires = expires,
24352434 .value = it.value ,
2436- .http_only = true ,
2437- .same_site = " Strict" ,
2435+ .expires = expires,
24382436 .path = " /" ,
2437+ .same_site = " Strict" ,
2438+ .http_only = true ,
24392439 });
24402440 }
24412441 }
You can’t perform that action at this time.
0 commit comments