From d21474a0290edab1c765741d484335d83f50be75 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 16 Oct 2012 17:24:12 +0200 Subject: use M2 as the key for the server auth --- spec/restful/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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(); }); -- cgit v1.2.3