Enabled Fastbook/OAuth login

This commit is contained in:
Deon George
2013-05-23 17:00:14 +10:00
parent c52e9b33d2
commit 7dd64e68bf
15 changed files with 2071 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
// Check the result of the user status and display login button if necessary
function checkLoginStatus(response) {
if (response && response.status == "connected") {
window.parent.location.href = $(".fb-login").attr('href');
} else if (response && response.status === "not_authorized") {
return false;
} else {
return false;
}
}