fix(web): logic of disabling credential login (#244)

* fix(web): logic of disabling credential login

If credentials are disabled, then don't show the email login form at all. If credentials are disabled and no social providers are present, show message saying none are available.

* chore: update lang

---------

Co-authored-by: Henry <henry_ball@hotmail.co.uk>
This commit is contained in:
Morfixx
2025-11-15 01:24:43 +03:00
committed by GitHub
parent 735db21227
commit c30da618ec
18 changed files with 179 additions and 131 deletions

View File

@@ -519,7 +519,7 @@ msgstr "Neem contact op"
msgid "Content Creation"
msgstr "Content creatie"
#: src/components/AuthForm.tsx:420
#: src/components/AuthForm.tsx:434
msgid "Continue with "
msgstr "Doorgaan met "
@@ -790,7 +790,7 @@ msgstr "Werkruimte-URL bewerken"
msgid "Editing"
msgstr "Bewerken"
#: src/components/AuthForm.tsx:421
#: src/components/AuthForm.tsx:435
msgid "email"
msgstr "e-mail"
@@ -810,11 +810,11 @@ msgstr "Voer je huidige wachtwoord in"
msgid "Enter your current password and choose a new secure password."
msgstr "Voer je huidige wachtwoord in en kies een nieuw veilig wachtwoord."
#: src/components/AuthForm.tsx:387
#: src/components/AuthForm.tsx:398
msgid "Enter your email address"
msgstr "Voer je e-mailadres in"
#: src/components/AuthForm.tsx:375
#: src/components/AuthForm.tsx:384
msgid "Enter your name"
msgstr "Voer je naam in"
@@ -822,7 +822,7 @@ msgstr "Voer je naam in"
msgid "Enter your new password"
msgstr "Voer je nieuwe wachtwoord in"
#: src/components/AuthForm.tsx:400
#: src/components/AuthForm.tsx:411
msgid "Enter your password"
msgstr "Voer je wachtwoord in"
@@ -1326,7 +1326,7 @@ msgstr "Geliefd door teams wereldwijd"
msgid "Low Priority"
msgstr "Lage prioriteit"
#: src/components/AuthForm.tsx:421
#: src/components/AuthForm.tsx:435
msgid "magic link"
msgstr "magische link"
@@ -1457,6 +1457,10 @@ msgstr "Volgende stappen"
msgid "No {0}"
msgstr "Geen {0}"
#: src/components/AuthForm.tsx:365
msgid "No authentication methods are currently available"
msgstr "Er zijn momenteel geen authenticatiemethoden beschikbaar"
#: src/views/boards/components/ImportBoardsForm.tsx:242
msgid "No boards found"
msgstr "Geen borden gevonden"
@@ -1497,7 +1501,7 @@ msgstr "Open source"
msgid "Open Source Friends"
msgstr "Open Source Vrienden"
#: src/components/AuthForm.tsx:365
#: src/components/AuthForm.tsx:374
msgid "or"
msgstr "of"
@@ -1579,15 +1583,15 @@ msgstr "Platform"
msgid "Please confirm your new password"
msgstr "Bevestig je nieuwe wachtwoord"
#: src/components/AuthForm.tsx:391
#: src/components/AuthForm.tsx:402
msgid "Please enter a valid email address"
msgstr "Voer een geldig e-mailadres in"
#: src/components/AuthForm.tsx:379
#: src/components/AuthForm.tsx:388
msgid "Please enter a valid name"
msgstr "Voer een geldige naam in"
#: src/components/AuthForm.tsx:404
#: src/components/AuthForm.tsx:416
msgid "Please enter a valid password"
msgstr "Voer een geldig wachtwoord in"
@@ -1886,7 +1890,7 @@ msgstr "Registreren uitgeschakeld"
msgid "Sign up is currently disabled. Please try again later."
msgstr "Registreren is momenteel uitgeschakeld. Probeer het later opnieuw."
#: src/components/AuthForm.tsx:420
#: src/components/AuthForm.tsx:434
msgid "Sign up with "
msgstr "Registreren met "

File diff suppressed because one or more lines are too long