allow the either username or email is empty which returns from oauth 2.0 provider, but require both to be present when automatically registering a new user

This commit is contained in:
MaysWind
2026-01-16 00:00:28 +08:00
parent 43a6d1be0f
commit 83a34ae322
20 changed files with 119 additions and 5 deletions
+5
View File
@@ -1270,6 +1270,11 @@
"invalid oauth2 token": "Invalid OAuth 2.0 token",
"cannot retrieve user info from oauth2 provider": "Cannot retrieve user info from OAuth 2.0 provider",
"oauth2 user already bound to another user": "OAuth 2.0 user is already bound to another user",
"user name and email from oauth2 provider are both empty": "User name and email from OAuth 2.0 provider are both empty",
"user name from oauth2 provider is empty": "User name from OAuth 2.0 provider is empty",
"email from oauth2 provider is empty": "Email from OAuth 2.0 provider is empty",
"user name from oauth2 provider is empty, cannot register new user": "User name from OAuth 2.0 provider is empty, cannot register new user",
"email from oauth2 provider is empty, cannot register new user": "Email from OAuth 2.0 provider is empty, cannot register new user",
"explorer id is invalid": "Explorer ID is invalid",
"explorer not found": "Explorer is not found",
"explorer data is invalid": "Explorer data is invalid",