mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: remove log (#6911)
This log is also not needed because we have the API status code 401 that shows the same data
This commit is contained in:
		
							parent
							
								
									61a689ccc7
								
							
						
					
					
						commit
						8ec9a0f62d
					
				| @ -78,7 +78,6 @@ const apiAccessMiddleware = ( | |||||||
|                     // If we're here, we know that api token middleware was enabled, otherwise we'd returned a no-op middleware
 |                     // If we're here, we know that api token middleware was enabled, otherwise we'd returned a no-op middleware
 | ||||||
|                     // We explicitly only protect client and proxy apis, since admin apis are protected by our permission checker
 |                     // We explicitly only protect client and proxy apis, since admin apis are protected by our permission checker
 | ||||||
|                     // Reject with 401
 |                     // Reject with 401
 | ||||||
|                     logger.warn(`No user found for token, rejecting`); |  | ||||||
|                     res.status(401).send({ |                     res.status(401).send({ | ||||||
|                         message: NO_TOKEN_WHERE_TOKEN_WAS_REQUIRED, |                         message: NO_TOKEN_WHERE_TOKEN_WAS_REQUIRED, | ||||||
|                     }); |                     }); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user