Fixed callback URL for Facebook connect to also return a full URL starting with http:// if configured

This commit is contained in:
Tobi Schäfer 2011-02-20 13:24:55 +00:00
parent 9c6fa3ecc4
commit 0917333e2d

View file

@ -31,7 +31,7 @@
//Feature.remove();
// FIXME: Connecting with Twitter and Google currently does not return an e-mail address.
// Instead, noreplay@antville.org is used <EFBFBD> which is very poor and should be fixed ASAP.
// Instead, noreplay@antville.org is used which is very poor and should be fixed ASAP.
app.addRepository(app.dir + "/../lib/scribe-1.1.0.jar");
@ -199,7 +199,7 @@ connect.facebook = function(req) {
} catch (ex) { }
}
var url = path.href(req.action) + "?type=facebook";
var url = res.handlers.members.href(req.action) + "?type=facebook";
var code = req.data.code;
if (!code) {