From 721eda63f8734a93cc10c2c36a4c274d2142e66c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 12 Feb 2020 16:02:42 +0100 Subject: Prettier message when wrong username or password on login --- templates/login.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/login.html') diff --git a/templates/login.html b/templates/login.html index 72e6754..8f24b78 100644 --- a/templates/login.html +++ b/templates/login.html @@ -4,6 +4,12 @@

S'identifier

+ {{if .WrongUser}} +
Nom d'utilisateur invalide.
+ {{end}} + {{if .WrongPass}} +
Mot de passe invalide.
+ {{end}} {{if .ErrorMessage}}
Impossible de se connecter.
{{ .ErrorMessage }}
-- cgit v1.2.3