mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-07 15:17:47 +00:00
Disable "secure" flag for cookies
This commit is contained in:
parent
da5c4603d9
commit
3260a4d596
1 changed files with 0 additions and 1 deletions
|
@ -33,7 +33,6 @@ pub async fn set(req: HttpRequest, form: Form<Preferences>) -> HttpResponse {
|
|||
Some(value) => response.cookie(
|
||||
Cookie::build("layout", value)
|
||||
.path("/")
|
||||
.secure(true)
|
||||
.http_only(true)
|
||||
.expires(OffsetDateTime::now_utc() + Duration::weeks(52))
|
||||
.finish(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue