Selaa lähdekoodia

delete blank line

Paul 7 vuotta sitten
vanhempi
commit
b994d74bff
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0
    1
      middleware/auth/auth.go

+ 0
- 1
middleware/auth/auth.go Näytä tiedosto

57
 				if expired == 0 && tokenFromCookie == "" {
57
 				if expired == 0 && tokenFromCookie == "" {
58
 					if session.DeleteJwtToken(token.Raw) {
58
 					if session.DeleteJwtToken(token.Raw) {
59
 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, token expired"})
59
 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, token expired"})
60
-
61
 					} else {
60
 					} else {
62
 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, delete server token failed"})
61
 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, delete server token failed"})
63
 					}
62
 					}