feat: publish v1.0.0-rc.36-custom.1

This commit is contained in:
Codex committed 2026-09-11 05:07:48 +08:00
commit 3a7e8f3b54
2381 files changed
+551494

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package controller
import (
"net/http"
"github.com/gin-gonic/gin"
)
// TelegramLegacyAuth retires the unsigned-flow widget endpoints. Existing
// Telegram bindings are used by the unified OAuth provider instead.
func TelegramLegacyAuth(c *gin.Context) {
c.JSON(http.StatusGone, gin.H{
"success": false,
"code": "TELEGRAM_LEGACY_AUTH_REMOVED",
"message": "Telegram login has changed. Reload the page and start Telegram OAuth again.",
})
}