oops
This commit is contained in:
		
							parent
							
								
									79eefb1ccf
								
							
						
					
					
						commit
						85754a9208
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -2,7 +2,6 @@ package server | |||
| 
 | ||||
| import ( | ||||
| 	"context" | ||||
| 	"fmt" | ||||
| 	"net/http" | ||||
| 
 | ||||
| 	"codeberg.org/u1f320/pronouns.cc/backend/server/auth" | ||||
|  | @ -20,7 +19,6 @@ func (s *Server) maybeAuth(next http.Handler) http.Handler { | |||
| 
 | ||||
| 		claims, err := s.Auth.Claims(token) | ||||
| 		if err != nil { | ||||
| 			fmt.Printf("%q: %q\n", "Authorization", token) | ||||
| 			render.Status(r, errCodeStatuses[ErrForbidden]) | ||||
| 			render.JSON(w, r, APIError{ | ||||
| 				Code:    ErrForbidden, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue