mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: fix incorrect VerifyTypePhone value (#1968)
This commit is contained in:
@ -224,7 +224,7 @@ func GetVerifyType(username string) (verificationCodeType string) {
|
||||
if strings.Contains(username, "@") {
|
||||
return VerifyTypeEmail
|
||||
} else {
|
||||
return VerifyTypeEmail
|
||||
return VerifyTypePhone
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user