refactor: remove username from User model, login by email only

This commit is contained in:
2026-06-16 16:18:42 +02:00
parent caf19575c6
commit 68c2983d36
30 changed files with 42 additions and 198 deletions
+2 -2
View File
@@ -13,14 +13,14 @@ describe("i18n dictionaries", () => {
it("returns localized login copy for English and Spanish", () => {
expect(getDictionary("en").login).toEqual({
title: "Sign In",
usernameLabel: "Username",
emailLabel: "Email",
passwordLabel: "Password",
submitLabel: "Sign In",
})
expect(getDictionary("es").login).toEqual({
title: "Iniciar sesión",
usernameLabel: "Usuario",
emailLabel: "Correo electrónico",
passwordLabel: "Contraseña",
submitLabel: "Iniciar sesión",
})