feat: publish v1.0.0-rc.36-custom.1
This commit is contained in:
commit
3a7e8f3b54
2381 files changed
+551494
No files matched your search
@@ -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.",
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user