summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
Diffstat (limited to 'pyload')
-rw-r--r--pyload/web/app/scripts/views/loginView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/web/app/scripts/views/loginView.js b/pyload/web/app/scripts/views/loginView.js
index 6c67a3408..9f15c81b3 100644
--- a/pyload/web/app/scripts/views/loginView.js
+++ b/pyload/web/app/scripts/views/loginView.js
@@ -19,8 +19,8 @@ define(['jquery', 'backbone', 'underscore', 'app', 'hbs!tpl/login'],
var self = this;
var data = this.ui.form.serialize();
- // Load user representation
- data.user = 'true';
+ // set flag to load user representation
+ data += '&user=true';
var options = App.apiRequest('login', null, {
data: data,
type: 'post',