谷歌登录-根据openid是否是邮箱区分新旧版本

This commit is contained in:
2025-08-18 18:49:50 +08:00
parent 643103531e
commit 1d77171763
2 changed files with 3 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ public class EmailService extends BaseService {
}
}
private boolean isValidEmail(String email) {
public boolean isValidEmail(String email) {
return !StringUtils.isEmpty(email) && email.matches(EMAIL_REGEX);
}
}