mirror of
				https://github.com/ether/etherpad-lite.git
				synced 2025-10-31 16:21:11 +01:00 
			
		
		
		
	Fix #1115 correctly reference session cookie
This commit is contained in:
		
							parent
							
								
									faeee3e09a
								
							
						
					
					
						commit
						a39faf9368
					
				| @ -7,7 +7,7 @@ module.exports = function (req, res, callback) { | ||||
|   // FIXME: Why is this ever undefined??
 | ||||
|   if (req.cookies === undefined) req.cookies = {}; | ||||
| 
 | ||||
|   securityManager.checkAccess(req.params.pad, req.cookies.sessionid, req.cookies.token, req.cookies.password, function(err, accessObj) { | ||||
|   securityManager.checkAccess(req.params.pad, req.cookies.sessionID, req.cookies.token, req.cookies.password, function(err, accessObj) { | ||||
|     if(ERR(err, callback)) return; | ||||
| 
 | ||||
|     //there is access, continue
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user