mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-14 16:52:45 -04:00
Add OauthLoginException, which carries a translation key for the message shown on the login page. The exception message only goes to the log. OauthLoginService now throws it for an unverified email, an account that is already linked to another identity, and disabled registration. OauthController shows the matching message for each case. Other HttpExceptions fall back to a generic OAuth failure message. The email verification check now runs before the linked-identity check, so an unverified email cannot reveal that an account is already linked. Add translations for the new auth.failed.oauth* keys in all locales and cover the new error messages with feature tests.