Skip to content

Q: 如何配置或者调整登录选项? || Q: How to configure or adjust login options? #2485

Answered by lizheming
aiddroid asked this question in Q&A
Discussion options

You must be logged in to vote

一般不建议修改这个。如果需要修改,可以将 admin 的页面通过 vercel.json 的 rewrites 的能力映射到自己的 html 文件中,然后注入下 window.ALLOW_SOCIALS = ['facebook', 'google']; 的变量吧。


It is generally not recommended to modify this. If you need to modify it, you can map the admin page to your own html file through the rewrites capability of vercel.json, and then inject the variable window.ALLOW_SOCIALS = ['facebook', 'google'];.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lizheming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants