summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
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');