summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-10-16 17:24:12 +0200
committerAzul <azul@riseup.net>2012-10-16 17:24:12 +0200
commitd21474a0290edab1c765741d484335d83f50be75 (patch)
tree95390f6736f5d08fcfd9e50242f95d76e7825f43 /spec
parentaeab3e93f45d2d8882d93ec20531aafd3cd9df45 (diff)
use M2 as the key for the server auth
Diffstat (limited to 'spec')
-rw-r--r--spec/restful/login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/restful/login.js b/spec/restful/login.js
index d84112a..1bc6108 100644
--- a/spec/restful/login.js
+++ b/spec/restful/login.js
@@ -55,7 +55,7 @@ describe("Login", function() {
this.expectRequest('sessions', 'login=' +login+ '&A=' +A, 'POST');
this.respondJSON({salt: salt, B: B});
this.expectRequest('sessions/'+login, 'client_auth='+M, 'PUT');
- this.respondJSON({M: M2});
+ this.respondJSON({M2: M2});
expect(this.srp.success).toHaveBeenCalled();
});