diff --git a/views/includes/external.pug b/views/includes/external.pug index 6f58474..333e3e6 100644 --- a/views/includes/external.pug +++ b/views/includes/external.pug @@ -4,7 +4,7 @@ script. window.fbAsyncInit = function() { FB.init({ - appId : '#{facebook_auth}', + appId : '#{auth.facebook}', cookie : true, xfbml : true, version : 'v2.8' @@ -31,7 +31,7 @@ gapi.load('auth2', function(){ // Retrieve the singleton for the GoogleAuth library and set up the client. auth2 = gapi.auth2.init({ - client_id: '#{google_auth}', + client_id: '#{auth.google}', cookiepolicy: 'single_host_origin', fetch_basic_profile: true });