diff options
Diffstat (limited to 'www/js/auth.js')
-rw-r--r-- | www/js/auth.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/auth.js b/www/js/auth.js index c9fe52e..df09ce6 100644 --- a/www/js/auth.js +++ b/www/js/auth.js @@ -39,7 +39,7 @@ function auth_loginSuccess(data) { sessionStorage.setItem("auth_token", auth_token); // todo: do this at a central place - rivendell = new Rivendell.Rivendell(auth_username, auth_token, '/rd-bin/rdxport.cgi'); + rivendell = new Rivendell.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi'); rivendell.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi'); rivendell.setMusicgridEndpoint('/rh-bin/musicgrid.cgi'); @@ -89,7 +89,7 @@ function auth_init() { $("#loginform").submit(function(event) { event.preventDefault(); - Rivendell.Rivendell.authLogin( + Rivendell.Rdxport.authLogin( '/rh-bin/authtoken.json', $("#username").val(), $("#password").val(), |