summaryrefslogtreecommitdiff
path: root/lib/jqueryRest.js
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-08-21 17:14:06 +0200
committerAzul <azul@riseup.net>2012-08-21 17:14:29 +0200
commitd5e30a95e09bab18a55f9aad1572b6ae3e16e482 (patch)
treef2e6646a800788d8ea8ea8b531d075844d12360e /lib/jqueryRest.js
parent79610eaf3c0628c8b84da3a4bbf8a6598e1a03cb (diff)
moved on with refactoring
* srp_register now is part of srp.js * moved server specific stuff into plainXHR (such as fetching the seed from the server) * fixed tests
Diffstat (limited to 'lib/jqueryRest.js')
-rw-r--r--lib/jqueryRest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jqueryRest.js b/lib/jqueryRest.js
index 84a9731..8c8163c 100644
--- a/lib/jqueryRest.js
+++ b/lib/jqueryRest.js
@@ -93,7 +93,7 @@ jqueryRest = function() {
// we do not fetch the salt from the server
function register(session, callback)
{
- callback({salt: session.getSalt()});
+ sendVerifier(session, callback);
}
function sendVerifier(session, callback) {