commit 9c9ee767cd1886723bd6023df9cc77a674ddacd7
parent ef4d51b94bb0f94aef42a869ec4d299f811cd1bf
Author: Felicitus <felicitus@felicitus.org>
Date: Thu, 1 Sep 2011 23:30:48 +0200
Fix: Auto-login only once. If the user clicks disconnect then connect, he most likely wants to enter another user.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/frontend/js/Dialogs/Auth/LoginDialog.js b/frontend/js/Dialogs/Auth/LoginDialog.js
@@ -70,6 +70,8 @@ Ext.define('PartKeepr.LoginDialog', {
this.loginField.setValue(PartKeepr.autoLoginUsername);
this.passwordField.setValue(PartKeepr.autoLoginPassword);
this.login();
+
+ PartKeepr.autoLoginUsername = null;
}
},
login: function () {