diff --git a/bower.json b/bower.json index 32b2ac4..540e269 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-auth", "description": "Strolch WebComponent Auth", - "version": "0.6.4", + "version": "0.6.5", "authors": "Robert von Burg", "keywords": [ "strolch", diff --git a/strolch-wc-auth.html b/strolch-wc-auth.html index ad63e9e..7f29a8a 100644 --- a/strolch-wc-auth.html +++ b/strolch-wc-auth.html @@ -252,6 +252,11 @@ this.$.ajaxAuthCheck.generateRequest(); console.log("Validating session..."); } + + var that = this; + setTimeout(function () { + that.$.username.focus(); + }, 100); }, sessionValidated: function () {