feat: fix incorrect VerifyTypePhone value (#1968)

This commit is contained in:
Yaodong Yu 2023-06-13 17:26:37 +08:00 committed by GitHub
parent 2a8001f490
commit 805cf20d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ func GetVerifyType(username string) (verificationCodeType string) {
if strings.Contains(username, "@") {
return VerifyTypeEmail
} else {
return VerifyTypeEmail
return VerifyTypePhone
}
}