Skip to content

Loading…

Replaced non-existent callback function #50

Merged
merged 1 commit into from

2 participants

@fredericlb

The function called when basic authentication is valid was not defined.
I replaced it with cbauth which is defined.

@mikedeboer
Owner

good catch! thank you!

@mikedeboer mikedeboer merged commit 80f8144 into mikedeboer:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 10, 2012
  1. @fredericlb
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DAV/plugins/auth/abstractBasic.js
View
2 lib/DAV/plugins/auth/abstractBasic.js
@@ -88,7 +88,7 @@ function jsDAV_Auth_Backend_AbstractBasic() { }
return self.requireAuth(res, realm, "Username or password does not match", cbauth);
self.currentUser = userpass[0];
- callback(null, true);
+ cbauth(null, true);
});
};
}).call(jsDAV_Auth_Backend_AbstractBasic.prototype = new jsDAV_Auth_iBackend());
Something went wrong with that request. Please try again.