File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ fn return_to_client(url: &str, cookies: impl IntoIterator<Item = Cookie<'static>
191191fn cookie_session ( id : Ulid ) -> Cookie < ' static > {
192192 let authorization_cookie = Cookie :: build ( "session" , id. to_string ( ) )
193193 . max_age ( time:: Duration :: days ( COOKIE_AGE_DAYS as i64 ) )
194- . same_site ( SameSite :: Strict )
194+ . same_site ( SameSite :: None )
195195 . path ( "/" )
196196 . finish ( ) ;
197197 authorization_cookie
@@ -200,7 +200,7 @@ fn cookie_session(id: Ulid) -> Cookie<'static> {
200200fn cookie_username ( username : & str ) -> Cookie < ' static > {
201201 let authorization_cookie = Cookie :: build ( "username" , username. to_string ( ) )
202202 . max_age ( time:: Duration :: days ( COOKIE_AGE_DAYS as i64 ) )
203- . same_site ( SameSite :: Strict )
203+ . same_site ( SameSite :: None )
204204 . path ( "/" )
205205 . finish ( ) ;
206206 authorization_cookie
You can’t perform that action at this time.
0 commit comments