diff options
| author | mrw1593 <botahamec@outlook.com> | 2023-06-27 20:41:34 -0400 |
|---|---|---|
| committer | mrw1593 <botahamec@outlook.com> | 2023-06-27 20:41:34 -0400 |
| commit | 9058b01d6c0e3d1e9e485a537258a312ccfc841c (patch) | |
| tree | 338334da9d70c59aec3aa5dfd3e3879d23df9f1b /static/templates/login.html | |
| parent | 31f80998a8eef32c0ef2d309bee68ab88f453bab (diff) | |
Error handling
Diffstat (limited to 'static/templates/login.html')
| -rw-r--r-- | static/templates/login.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/templates/login.html b/static/templates/login.html index 5de9bc9..325dc14 100644 --- a/static/templates/login.html +++ b/static/templates/login.html @@ -2,6 +2,9 @@ {% block title %}{{ msg(key="loginTitle") }}{% endblock title %} {% block content %} <form method="post" action="/authorize?{{params}}"> + {% if errorMessage %} + <p>{{ msg(key=errorMessage) }}</p> + {% endif %} <label for="username">{{ msg(key="usernameLabel") }}</label> <input id="username" type="text" name="username" tabindex="0" placeholder="{{ msg(key="usernamePlaceholder") }}" autofocus /> <label for="password">{{ msg(key="passwordLabel") }}</label> |
