id	summary	reporter	owner	description	type	status	priority	component	resolution	keywords	cc
5	BearMail::Web::Login error handling	vcaron	sbocahu	"We need some error and feedback handling in bearmail login:
 
'''Add some div''' in source:/bearmail/template/login.html. I'd suggest a <p class=""error""> before the submit button, and only present if an error occurs. I'm not fan on errors ""on top"" which shift the whole form layout down.

And of course add proper logic in source:/bearmail/lib/BearMail/Web/Login.pm - see if CGI::App has some ""standard way"" to handle error/flash messages.

I'd like meaningful errors (instead of a single message ""Login failed""):
 * ""Echec: le mot de passe est incorrect, essayez à nouveau.""
 * ""Echec: cette adresse email est inconnue.""

I know it's supposed to be a privacy issue since a brute force attack can guess the list of hosted domains and addresses, but it's also so convenient for end users who must know if they mispelled their address or password in the first place.

(BTW all public strings are French, let's keep it that way until we add i18n)
"	task	closed	minor	Bearmail	fixed		
