File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,6 @@ fn return_to_client(url: &str, cookies: impl IntoIterator<Item = Cookie<'static>
190190
191191fn cookie_session ( id : Ulid ) -> Cookie < ' static > {
192192 let authorization_cookie = Cookie :: build ( "session" , id. to_string ( ) )
193- . http_only ( true )
194193 . max_age ( time:: Duration :: days ( COOKIE_AGE_DAYS as i64 ) )
195194 . same_site ( SameSite :: Strict )
196195 . path ( "/" )
@@ -200,7 +199,6 @@ fn cookie_session(id: Ulid) -> Cookie<'static> {
200199
201200fn cookie_username ( username : & str ) -> Cookie < ' static > {
202201 let authorization_cookie = Cookie :: build ( "username" , username. to_string ( ) )
203- . http_only ( true )
204202 . max_age ( time:: Duration :: days ( COOKIE_AGE_DAYS as i64 ) )
205203 . same_site ( SameSite :: Strict )
206204 . path ( "/" )
You can’t perform that action at this time.
0 commit comments