diff options
author | Azul <azul@riseup.net> | 2012-08-04 16:01:05 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-08-04 16:01:05 +0200 |
commit | f0b308e4081a4c804da4f7bfbe4802a8999d4c26 (patch) | |
tree | c577b8973320e1e17ab3d3dbe477f2b01c85b0fe /lib/srp.js | |
parent | 94d1938e2e5d0ee5e8e7b9a8ed44a067677e0133 (diff) |
copied jqueryRest and restful specs from django
no real change yet
Diffstat (limited to 'lib/srp.js')
-rw-r--r-- | lib/srp.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -function SRP() +function SRP(remote) { // Variables session will be used in the SRP protocol var Nstr = "115b8b692e0e045692cf280b436735c77a5a9e8a9e7ed56c965f87db5b2a2ece3"; @@ -22,7 +22,7 @@ function SRP() var authenticated = false; var I = document.getElementById("srp_username").value; var p = document.getElementById("srp_password").value; - var remote = plainXHR(); + remote = remote || plainXHR(); // *** Accessor methods *** |