HOW do i keep forgetting things like this

This commit is contained in:
Evert Prants 2020-01-28 23:48:45 +02:00
parent 8f55edbaa6
commit df61f2d999
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -4,7 +4,7 @@
script. script.
window.fbAsyncInit = function() { window.fbAsyncInit = function() {
FB.init({ FB.init({
appId : '#{facebook_auth}', appId : '#{auth.facebook}',
cookie : true, cookie : true,
xfbml : true, xfbml : true,
version : 'v2.8' version : 'v2.8'
@ -31,7 +31,7 @@
gapi.load('auth2', function(){ gapi.load('auth2', function(){
// Retrieve the singleton for the GoogleAuth library and set up the client. // Retrieve the singleton for the GoogleAuth library and set up the client.
auth2 = gapi.auth2.init({ auth2 = gapi.auth2.init({
client_id: '#{google_auth}', client_id: '#{auth.google}',
cookiepolicy: 'single_host_origin', cookiepolicy: 'single_host_origin',
fetch_basic_profile: true fetch_basic_profile: true
}); });