aboutsummaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html6
1 files changed, 6 insertions, 0 deletions
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 @@
<h4>S'identifier</h4>
<form method="POST">
+ {{if .WrongUser}}
+ <div class="alert alert-danger">Nom d'utilisateur invalide.</div>
+ {{end}}
+ {{if .WrongPass}}
+ <div class="alert alert-danger">Mot de passe invalide.</div>
+ {{end}}
{{if .ErrorMessage}}
<div class="alert alert-danger">Impossible de se connecter.
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>