Update JWTAuth.php
This commit is contained in:
		
							parent
							
								
									86bb12c1eb
								
							
						
					
					
						commit
						76e8be0e8f
					
				| 
						 | 
				
			
			@ -296,7 +296,7 @@ class JWTAuth
 | 
			
		|||
        } elseif ($this->token) {
 | 
			
		||||
            return $this;
 | 
			
		||||
        } else {
 | 
			
		||||
            throw new JWTException('A token is required', 400);
 | 
			
		||||
            throw new JWTException('A token is required', 401);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user