I want to only enable google, apple and facebook as login methods on my plug and play modal so I created this loginMethods object and updated the modalConfig when calling initModal
.
const loginMethods = {
twitter: {
name: 'twitter',
showOnModal: false,
},
facebook: {
name: 'facebook',
showOnModal: true,
},
github: {
name: 'github',
showOnModal: false,
},
reddit: {
name: 'reddit',
showOnModal: false,
},
discord: {
name: 'discord',
showOnModal: false,
},
twitch: {
name: 'twitch',
showOnModal: false,
},
apple: {
name: 'apple',
showOnModal: true,
},
line: {
name: 'line',
showOnModal: false,
},
kakao: {
name: 'kakao',
showOnModal: false,
},
linkedin: {
name: 'linkedin',
showOnModal: false,
},
weibo: {
name: 'weibo',
showOnModal: false,
},
wechat: {
name: 'wechat',
showOnModal: false,
},
};
However, the modal still has this view more option section. Is there a way to remove that part?