mirror of
https://forgejo.merr.is/annika/jwtauth.git
synced 2025-12-11 15:27:49 -05:00
Remove debug statements
This commit is contained in:
parent
4db4f7e78f
commit
5230a789a2
1 changed files with 0 additions and 2 deletions
|
|
@ -74,7 +74,6 @@ func TestMore(t *testing.T) {
|
|||
if jwtErr, ok := ctx.Value("jwt.err").(error); ok {
|
||||
switch jwtErr {
|
||||
default:
|
||||
log.Println("...we're expired... I think..:", jwtErr)
|
||||
http.Error(w, http.StatusText(401), 401)
|
||||
return
|
||||
case jwtauth.ErrExpired:
|
||||
|
|
@ -90,7 +89,6 @@ func TestMore(t *testing.T) {
|
|||
|
||||
jwtToken, ok := ctx.Value("jwt").(*jwt.Token)
|
||||
if !ok || jwtToken == nil || !jwtToken.Valid {
|
||||
log.Println("jwt token..........?", jwtToken)
|
||||
http.Error(w, http.StatusText(401), 401)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue