diff --git a/website/client/components/settings/site.vue b/website/client/components/settings/site.vue index e3af274879..e6e5a75675 100644 --- a/website/client/components/settings/site.vue +++ b/website/client/components/settings/site.vue @@ -111,7 +111,6 @@ div ul.list-inline li(v-for='network in SOCIAL_AUTH_NETWORKS') - // @TODO this is broken button.btn.btn-primary(v-if='!user.auth[network.key].id', @click='socialAuth(network.key, user)') {{ $t('registerWithSocial', {network: network.name}) }} button.btn.btn-primary(disabled='disabled', v-if='!hasBackupAuthOption(network.key) && user.auth[network.key].id') {{ $t('registeredWithSocial', {network: network.name}) }} button.btn.btn-danger(@click='deleteSocialAuth(network.key)', v-if='hasBackupAuthOption(network.key) && user.auth[network.key].id') {{ $t('detachSocial', {network: network.name}) }} @@ -239,6 +238,10 @@ export default { // @TODO: We may need to request the party here this.party = this.$store.state.party; this.newDayStart = this.user.preferences.dayStart; + hello.init({ + facebook: process.env.FACEBOOK_KEY, // eslint-disable line + google: process.env.GOOGLE_CLIENT_ID, // eslint-disable line + }); }, computed: { ...mapState({