🔒 Add rate limiter on email signin endpoint

This commit is contained in:
Baptiste Arnaud
2023-06-20 15:49:54 +02:00
parent 3b52363e11
commit 7c2e5740dc
8 changed files with 104 additions and 14 deletions

View File

@@ -85,6 +85,8 @@ export default {
'auth.error.unknown': 'Ein Fehler ist aufgetreten. Bitte versuche es erneut.',
'auth.signinErrorToast.title': 'Nicht autorisiert',
'auth.signinErrorToast.description': 'Anmeldungen sind deaktiviert.',
'auth.signinErrorToast.tooManyRequests':
'Zu viele Anfragen. Versuche es später erneut.',
'auth.noProvider.preLink': 'Du musst',
'auth.noProvider.link':
'mindestens einen Authentifizierungsanbieter konfigurieren (E-Mail, Google, GitHub, Facebook oder Azure AD).',
@@ -111,12 +113,10 @@ export default {
'billing.upgradeLimitLabel':
'Um {type} hinzuzufügen, musst du deinen Tarif aktualisieren',
'billing.currentSubscription.heading': 'Abonnement',
'billing.currentSubscription.subheading':
'Aktuelles Workspace-Abonnement:',
'billing.currentSubscription.subheading': 'Aktuelles Workspace-Abonnement:',
'billing.currentSubscription.cancelLink': 'Mein Abonnement kündigen',
'billing.invoices.heading': 'Rechnungen',
'billing.invoices.empty':
'Keine Rechnungen für diesen Workspace gefunden.',
'billing.invoices.empty': 'Keine Rechnungen für diesen Workspace gefunden.',
'billing.invoices.paidAt': 'Bezahlt am',
'billing.invoices.subtotal': 'Zwischensumme',
'billing.preCheckoutModal.companyInput.label': 'Firmenname:',

View File

@@ -82,6 +82,8 @@ export default {
'auth.error.unknown': 'An error occurred. Please try again.',
'auth.signinErrorToast.title': 'Unauthorized',
'auth.signinErrorToast.description': 'Sign ups are disabled.',
'auth.signinErrorToast.tooManyRequests':
'Too many requests. Try again later.',
'auth.noProvider.preLink': 'You need to',
'auth.noProvider.link':
'configure at least one auth provider (Email, Google, GitHub, Facebook or Azure AD).',

View File

@@ -83,6 +83,7 @@ export default {
'auth.error.unknown': 'Une erreur est survenue. Essaye à nouveau.',
'auth.signinErrorToast.title': 'Non autorisé',
'auth.signinErrorToast.description': 'Les inscriptions sont désactivées.',
'auth.signinErrorToast.tooManyRequests': 'Trop de tentatives de connexion.',
'auth.noProvider.preLink': 'Tu as besoin de',
'auth.noProvider.link':
"configurer au moins un fournisseur d'authentification (E-mail, Google, GitHub, Facebook ou Azure AD).",

View File

@@ -84,6 +84,8 @@ export default {
'auth.error.unknown': 'Ocorreu um erro. Tente novamente.',
'auth.signinErrorToast.title': 'Não autorizado',
'auth.signinErrorToast.description': 'As inscrições estão desativadas.',
'auth.signinErrorToast.tooManyRequests':
'Muitas tentativas. Tente novamente mais tarde.',
'auth.noProvider.preLink': 'Você precisa',
'auth.noProvider.link':
'configurar pelo menos um provedor de autenticação (E-mail, Google, GitHub, Facebook ou Azure AD).',