feat: 增加 GitHub 和 Google 邮箱快捷登录
This commit is contained in:
@@ -17,7 +17,7 @@ func normalizeOAuthSignupSource(signupSource string) string {
|
||||
switch signupSource {
|
||||
case "", "email":
|
||||
return "email"
|
||||
case "linuxdo", "wechat", "oidc":
|
||||
case "linuxdo", "wechat", "oidc", "github", "google":
|
||||
return signupSource
|
||||
default:
|
||||
return "email"
|
||||
|
||||
Reference in New Issue
Block a user