feat: Enhance SMS verification with new token handling and update API key
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m45s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 9m45s
This commit is contained in:
+2
-3
@@ -72,11 +72,10 @@ public class CreateNewOtpTokenCommandHandler : IRequestHandler<CreateNewOtpToken
|
||||
|
||||
try
|
||||
{
|
||||
// برای امضای قرارداد، شناسه GUID هم در پیامک ارسال شود
|
||||
// برای امضای قرارداد، از الگوی Sign-Contract با GUID به عنوان token2 استفاده شود
|
||||
if ((purpose == "signcontract" || purpose == "signclubcontract") && !string.IsNullOrEmpty(request.SignGuid))
|
||||
{
|
||||
var message = $"کد تایید امضای قرارداد: {code}\nشناسه قرارداد: {request.SignGuid}";
|
||||
await _kavenegarService.SendAsync(mobile, message);
|
||||
await _kavenegarService.VerifyLookupAsync(mobile, code, request.SignGuid, "Sign-Contract");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user