feat: Most of Item and Order controllers
This commit is contained in:
@@ -157,6 +157,7 @@ func IsAuthenticated(auth *auth.Authenticator) gin.HandlerFunc {
|
||||
} else {
|
||||
if !HandleRefreshToken(session) {
|
||||
context.String(http.StatusUnauthorized, "Failed to refresh access token")
|
||||
context.Abort()
|
||||
return
|
||||
} else {
|
||||
context.Next()
|
||||
|
||||
Reference in New Issue
Block a user