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 -18
View File
@@ -708,12 +708,7 @@
"securityTitle": "Sikkerhed",
"securitySubtitle": "To-faktor autentificering",
"securityDescription": "Tilføj et ekstra beskyttelseslag til din konto.",
"twoFactorLink": "To-faktor autentificering",
"connectionsTitle": "Tilknyttede konti",
"connectionsSubtitle": "Log ind med et enkelt klik",
"connectionsDescription": "Link Discord eller Google til din hotelkonto.",
"manageConnections": "Administrer forbindelser"
},
"twoFactorLink": "To-faktor autentificering"},
"settings2fa": {
"backToSettings": "← Indstillinger",
"title": "To-faktor autentificering",
@@ -735,20 +730,10 @@
"enableIntro": "Tilføj et ekstra sikkerhedslag med en godkendelsesapp.",
"enable": "Aktiver 2FA"
},
"connections": {
"backToSettings": "← Indstillinger",
"title": "Tilknyttede konti",
"subtitle": "Link en social konto, så du kan logge ind med et enkelt klik",
"matchByEmail": "Vi matcher den til din hotelkonto via e-mail, så brug den registrerede adresse:",
"lookupFailed": "Vi kunne ikke læse dine linkede konti lige nu. Du kan stadig oprette forbindelse nedenfor - din status vises, når den er tilgængelig.",
"statusUnavailable": "Ikke tilgængelig på dette hotel.",
"statusConnected": "Forbundet — log ind med denne konto.",
"statusNotConnected": "Ikke forbundet.",
"connected": "Forbundet",
"connectProvider": "Tilslut {provider}",
"unavailable": "Ikke tilgængelig",
"footerNote": "Tilslutning fører dig til udbyderen for at godkende og derefter tilbage hertil. Hvis din sociale kontos e-mail ikke matcher en hotelkonto, vil du blive returneret til login-skærmen med en note."
},
"login": {
"title": "Log ind",
"subtitle": "Velkommen tilbage - log ind for at komme ind på hotellet.",
@@ -760,8 +745,6 @@
"verify": "Bekræft",
"signIn": "Log ind",
"or": "eller",
"continueWithDiscord": "Fortsæt med Discord",
"continueWithGoogle": "Fortsæt med Google",
"noAccount": "Ingen konto?",
"createOne": "Opret en",
"forgotPassword": "Glemt adgangskode?",