diff options
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/login.html b/templates/login.html index 5e717c3..037879d 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,8 +1,8 @@ {{define "title"}}Connexion{{end}} {{define "content"}} <h1>Connexion</h1> -{{if .Error}} -<p class="error">{{.Error}}</p> +{{if .Data.Error}} +<p class="error">{{.Data.Error}}</p> {{end}} <form action="/login" method="POST"> <input required type="text" name="user" id="user" placeholder="Nom d'utilisateur"><br/><br/> |
