fix: improve error logging and messaging for session handling in user and turnstile middleware

This commit is contained in:
Laisky.Cai
2025-03-12 13:38:29 +00:00
parent df3335510b
commit d30b6840ad
2 changed files with 4 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ func TurnstileCheck() gin.HandlerFunc {
err = session.Save()
if err != nil {
c.JSON(http.StatusOK, gin.H{
"message": "Unable to save session information, please try again",
"message": "Unable to save turnsite session information, please try again",
"success": false,
})
return