remove debug fmt.Printlns

This commit is contained in:
Harvey Tindall
2020-08-20 20:35:50 +01:00
parent ee3b421566
commit 0e39b2b699
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -617,7 +617,6 @@ func (app *appContext) Logout(gc *gin.Context) {
return
}
app.invalidTokens = append(app.invalidTokens, cookie)
fmt.Println("After appending", cookie, ":", app.invalidTokens)
gc.SetCookie("refresh", "invalid", -1, "/", gc.Request.URL.Hostname(), true, true)
gc.JSON(200, map[string]bool{"success": true})
}