summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-04-01 18:28:38 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-04-01 18:28:38 (GMT)
commitf417e58d71ee256b42a59f4ffa8fe21389e73af3 (patch)
treec17ea9654732c436c483a07985625fc2a575d53b /www/js/auth.js
parent0673d620aed2b0f149dead099f70d0208d2c86d9 (diff)
websocket test (breaking commit)
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/auth.js b/www/js/auth.js
index d01b70d..dd21e39 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -39,6 +39,8 @@ function auth_loginSuccess(data) {
sessionStorage.setItem("auth_token", auth_token);
// todo: do this at a central place
+ importer = new Rdxport.Importer(auth_username, auth_token);
+
rdxport = new Rdxport.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi');
rdxport.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi');
rdxport.setMusicgridEndpoint('/rh-bin/musicgrid.cgi');