summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2012-11-20 12:25:17 +0100
committerAzul <azul@riseup.net>2012-11-20 12:25:17 +0100
commit6a1f447f4155796ca9b2510c49f52559b3934c17 (patch)
treee5e732fefc4ef8cdaa8c93e4bb7d420ae78d54c0 /src
parentcb46537c98db3cb7ac8cf23de243a86aa4a36acd (diff)
make sure srp.login also works as a callback
Diffstat (limited to 'src')
-rw-r--r--src/srp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/srp.js b/src/srp.js
index e57b7e9..c754818 100644
--- a/src/srp.js
+++ b/src/srp.js
@@ -2,12 +2,12 @@ var srp = (function(){
function signup()
{
- this.remote.signup();
+ srp.remote.signup();
};
function login()
{
- this.remote.login();
+ srp.remote.login();
};
return {