fix auth: don't raise Unauthorized
This commit is contained in:
		
							parent
							
								
									eaa2055c76
								
							
						
					
					
						commit
						1eff3d2c8b
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -20,8 +20,6 @@ class JwtAuthentication: | ||||||
|         prc = authenticate(request) |         prc = authenticate(request) | ||||||
|         if prc is None and self.baseAuth is not None: |         if prc is None and self.baseAuth is not None: | ||||||
|             prc = self.baseAuth.authenticate(request) |             prc = self.baseAuth.authenticate(request) | ||||||
|         if prc is None: |  | ||||||
|             raise Unauthorized |  | ||||||
|         return prc |         return prc | ||||||
| 
 | 
 | ||||||
|     def getPrincipal(self, id): |     def getPrincipal(self, id): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue