mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
Handle error in go-sms-sender.
This commit is contained in:
@ -68,7 +68,7 @@ func SendVerificationCodeToPhone(organization *Organization, user *User, provide
|
||||
return err
|
||||
}
|
||||
|
||||
return SendCodeToPhone(provider, dest, code)
|
||||
return SendSms(provider, dest, code)
|
||||
}
|
||||
|
||||
func AddToVerificationRecord(user *User, provider *Provider, remoteAddr, recordType, dest, code string) error {
|
||||
|
Reference in New Issue
Block a user