diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-30 15:54:42 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-30 16:59:23 +0200 |
commit | 3fb0ac54a814dcc134f9f6299e37d5d71e452a05 (patch) | |
tree | f920bc5aa5845cd22ad1ede9c3f9bc012a5d39c4 /index.html | |
parent | 07a6662be9f1a59bfe3ae42baa6589d74568c9ce (diff) |
Improve error messages for login form
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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"> |