Register: auto sign-in to /me and speed/cleanup improvements
- Send the verification email after the response via after() so it never blocks sign-up - Invalidate the cached login lookup right after account creation so the automatic sign-in always finds the fresh row - Auto sign in with the submitted credentials and go straight to /me, with a fallback to /login?registered=1 if sign-in is refused (e.g. email verification required) - Cache the register page's online/latest user queries to cut DB load under traffic - Fix terms checkbox label double-toggle cancelling the selection - Add pages.register.redirecting translation to all locales
This commit is contained in:
@@ -724,6 +724,7 @@
|
||||
"termsAccept": "J'ai 18 ans ou plus et j'accepte les conditions et règles de {hotel}.",
|
||||
"createAccount": "Créer un compte",
|
||||
"creatingAccount": "Création du compte...",
|
||||
"redirecting": "Redirection vers votre compte...",
|
||||
"alreadyHaveAccount": "Vous avez déjà un compte ? Connectez-vous !",
|
||||
"register": "S'inscrire",
|
||||
"termsError": "Vous devez accepter les conditions et règles pour vous inscrire.",
|
||||
|
||||
Reference in New Issue
Block a user