provide error message on login and display it nicely

server now provides a reason for login fail to the web ui, and displays
it inside the login button, which looks a lot nicer than the previously
used error box.
This commit is contained in:
Harvey Tindall
2020-08-19 14:50:16 +01:00
parent daf190f68b
commit 6781316474
3 changed files with 24 additions and 11 deletions
-1
View File
@@ -136,7 +136,6 @@
<input type="password" class="form-control" id="password" name="password" placeholder="Password" required>
</div>
</form>
<div id="loginErrorArea"></div>
</div>
<div class="modal-footer">
<button type="submit" id="loginSubmit" class="btn btn-primary" form="loginForm">Login</button>