Add Telegram OAuth support

This commit is contained in:
Ehco1996
2024-03-01 21:54:24 +08:00
parent 140e843d93
commit 690d2e6ba2
5 changed files with 39 additions and 26 deletions

View File

@@ -20,6 +20,8 @@ func GetStatus(c *gin.Context) {
"email_verification": common.EmailVerificationEnabled,
"github_oauth": common.GitHubOAuthEnabled,
"github_client_id": common.GitHubClientId,
"telegram_oauth": common.TelegramOAuthEnabled,
"telegram_bot_name": common.TelegramBotName,
"system_name": common.SystemName,
"logo": common.Logo,
"footer_html": common.Footer,