summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-30 15:54:42 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-30 16:59:23 +0200
commit3fb0ac54a814dcc134f9f6299e37d5d71e452a05 (patch)
treef920bc5aa5845cd22ad1ede9c3f9bc012a5d39c4 /index.html
parent07a6662be9f1a59bfe3ae42baa6589d74568c9ce (diff)
Improve error messages for login form
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html
index ca34854..43fca9e 100644
--- a/index.html
+++ b/index.html
@@ -121,7 +121,9 @@
required="required" />
</div>
<button type="submit" class="btn btn-primary btn-block" data-tkey="signin_button">Sign in</button>
- <span class="error failed" data-tkey="login_failed" style="display: none;">Login failed.</span>
+ <span class="error wrong-user-or-pw" data-tkey="wrong_username_or_password" style="display: none;">Wrong username or password.</span>
+ <span class="error connection-failed" data-tkey="connection_failed" style="display: none;">Could not connect to server.</span>
+ <span class="error login-failed" data-tkey="login_failed" style="display: none;">Login failed.</span>
</form>
</div>
<div class="panel-body">