summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
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();
}
}
};