diff --git a/AUTHORS.md b/AUTHORS.md index 8c6e18395..bf9ba451f 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -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 diff --git a/src/octoprint/static/js/login/login.js b/src/octoprint/static/js/login/login.js index b79f8f89a..afc60e873 100644 --- a/src/octoprint/static/js/login/login.js +++ b/src/octoprint/static/js/login/login.js @@ -39,6 +39,7 @@ $(function () { .fail(function () { usernameElement.val(""); passwordElement.val(""); + usernameElement.focus(); overlayElement.removeClass("in"); errorElement.addClass("in");