From 51edbc1578fe49b281b39d91451d2b9df0092028 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sun, 8 Mar 2020 00:14:29 +0100 Subject: Improve login and registration pages (#2794) * Keep the user on login page on failure * Show an error if username already exists * Check the password format in the backend * Return a better message if username is invalid * Add a title to the login page * wip: Improve look of login and register pages * Set a capital M in username help message On the registration page, username tip started with a minuscule, while the password tip started with a capital. * Change message if username is taken --- app/views/auth/register.phtml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'app/views/auth/register.phtml') diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml index 4233f7fd4..584efa8f4 100644 --- a/app/views/auth/register.phtml +++ b/app/views/auth/register.phtml @@ -3,22 +3,23 @@
-
- + +
+
show_email_field) { ?> -
-