Browse Source

fix: Fix the issue of sending duplicate SMS verification codes

- Fix the prompt for repeated sending of SMS verification code messages
pull/1491/head
colin 2 days ago
parent
commit
511eae2d2a
  1. 2
      aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN/Abp/Account/MyProfileAppService.cs

2
aspnet-core/modules/account/LINGYUN.Abp.Account.Application/LINGYUN/Abp/Account/MyProfileAppService.cs

@ -140,7 +140,7 @@ public class MyProfileAppService : AccountApplicationServiceBase, IMyProfileAppS
var interval = await SettingProvider.GetAsync(Identity.Settings.IdentitySettingNames.User.SmsRepetInterval, 1);
if (securityTokenCacheItem != null)
{
throw new UserFriendlyException(L["SendRepeatPhoneVerifyCode", interval]);
throw new UserFriendlyException(L["SendRepeatSmsVerifyCode", interval]);
}
// 是否已有用户使用手机号绑定

Loading…
Cancel
Save