Remove Discord and Google OAuth verification from CMS
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m58s

- Remove Discord + Google OAuth providers from NextAuth config
- Remove social login buttons (Discord/Google) from login form
- Delete link-discord.ts action and discord-verify-form.tsx component
- Simplify verify page to email-only verification flow
- Remove connections settings page and its link from settings
- Clean env.ts, .env, .env.example of Discord/Google client vars
- Remove discordUrl social icon from register, login, and homepage
- Clean translation files: remove continueWithDiscord, continueWithGoogle, connections keys
This commit is contained in:
openhands committed 2026-07-24 11:49:16 +02:00
1 parent f7f6e09174
commit 7f8d083763
36 files changed
+34 -994

No files matched your search

+1 -20
View File
@@ -708,12 +708,7 @@
"securityTitle": "Безопасность",
"securitySubtitle": "Двухфакторная аутентификация",
"securityDescription": "Добавьте в аккаунт второй уровень защиты.",
"twoFactorLink": "Двухфакторная аутентификация",
"connectionsTitle": "Связанные аккаунты",
"connectionsSubtitle": "Войти одним щелчком мыши",
"connectionsDescription": "Привяжите Discord или Google к аккаунту отеля.",
"manageConnections": "Управление подключениями"
},
"twoFactorLink": "Двухфакторная аутентификация"},
"settings2fa": {
"backToSettings": "← Настройки",
"title": "Двухфакторная аутентификация",
@@ -735,20 +730,8 @@
"enableIntro": "Добавьте второй уровень безопасности с помощью приложения-аутентификатора.",
"enable": "Включить 2FA"
},
"connections": {
"backToSettings": "← Настройки",
"title": "Связанные аккаунты",
"subtitle": "Привяжите аккаунт в соцсетях, чтобы войти в систему одним щелчком мыши",
"matchByEmail": "We match it to your hotel account by e-mail, so use the address on file:",
"lookupFailed": "We couldn't read your linked accounts right now. You can still connect below — your status will show once it's available.",
"statusUnavailable": "Not available on this hotel.",
"statusConnected": "Connected — sign in with this account.",
"statusNotConnected": "Not connected.",
"connected": "Connected",
"connectProvider": "Connect {provider}",
"unavailable": "Unavailable",
"footerNote": "Connecting takes you to the provider to authorise, then back here. If your social account's e-mail doesn't match a hotel account, you'll be returned to the login screen with a note."
},
"login": {
"title": "Sign in",
"subtitle": "С возвращением! Войдите в систему, чтобы войти в отель.",
@@ -760,8 +743,6 @@
"verify": "Подтвердить",
"signIn": "Войти",
"or": "или",
"continueWithDiscord": "Продолжить с Discord",
"continueWithGoogle": "Продолжить с помощью Google",
"noAccount": "Нет аккаунта?",
"createOne": "Создать",
"forgotPassword": "Забыли пароль?",