summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorausiv4 <ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5>2009-07-25 15:43:07 +0000
committerausiv4 <ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5>2009-07-25 15:43:07 +0000
commitc83993abf777096e8d174d2162d0974f11758797 (patch)
treef62ea9eaeb1c7c592a338597db1dcdbe967bc5e1 /javascript
parentebfe7e1cfc90e392112b831a1999ec8569b0354f (diff)
Fixed views.py to work with the new library for registration. There were minor errors in the library, which have also been addressed.
Diffstat (limited to 'javascript')
-rw-r--r--javascript/srp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/srp.js b/javascript/srp.js
index d998ad4..a1bddff 100644
--- a/javascript/srp.js
+++ b/javascript/srp.js
@@ -97,7 +97,7 @@ function SRP(username, password, ser, base_url)
if(xhr.readyState == 4 && xhr.status == 200) {
if(xhr.responseXML.getElementsByTagName("ok").length > 0)
{
- this.identify();
+ that.identify();
}
}
};
@@ -124,7 +124,7 @@ function SRP(username, password, ser, base_url)
{
// This probably means A % N == 0, which means we need to generate
// a new A and reidentify.
- this.identify();
+ that.identify();
}
}
};