🐛Login: Refocus on username after failed login (#4249)
Fixes #4242 Co-authored-by: Gina Häußge <gina@octoprint.org>
This commit is contained in:
1 parent
f8f4225e8d
commit
a1dee07d76
2 files changed
+2
No files matched your search
@@ -152,6 +152,7 @@ date of first contribution):
|
||||
* [Adam DeMuri](https://github.com/ademuri)
|
||||
* [Daniel Shenkle](https://github.com/DShenkle)
|
||||
* [Bryan Kenote](https://github.com/bryankenote)
|
||||
* [Sven Samoray](https://github.com/thelastWallE)
|
||||
|
||||
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
|
||||
[Daid Braam](https://github.com/daid). Parts of its communication layer and
|
||||
|
||||
@@ -39,6 +39,7 @@ $(function () {
|
||||
.fail(function () {
|
||||
usernameElement.val("");
|
||||
passwordElement.val("");
|
||||
usernameElement.focus();
|
||||
|
||||
overlayElement.removeClass("in");
|
||||
errorElement.addClass("in");
|
||||
|
||||
Reference in new issue
Block a user