mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-09 10:13:42 +08:00
fix: improve error logging and messaging for session handling in user and turnstile middleware
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user