diff options
Diffstat (limited to 'auth')
-rw-r--r-- | auth/refresh.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/refresh.go b/auth/refresh.go index 6a77a78..5b1a7df 100644 --- a/auth/refresh.go +++ b/auth/refresh.go @@ -66,6 +66,7 @@ func verifyRefreshToken() gin.HandlerFunc { if i.Token == refreshToken { ctx.Set("user", u) ctx.Next() + return } } ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"message": "refresh token expired"}) |