mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	(core) For grist_sid*_status cookie, remember to set the path
Test Plan: Only tested manually that path is included. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3056
This commit is contained in:
		
							parent
							
								
									d4626aea82
								
							
						
					
					
						commit
						7e07f0ce56
					
				@ -529,6 +529,7 @@ export function signInStatusMiddleware(req: Request, resp: Response, next: NextF
 | 
			
		||||
        httpOnly: false,    // make available to client-side scripts
 | 
			
		||||
        expires,
 | 
			
		||||
        domain: getCookieDomain(req),
 | 
			
		||||
        path: '/',
 | 
			
		||||
        sameSite: 'lax',    // same setting as for grist-sid is fine here.
 | 
			
		||||
      }));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user