Set Kavenegar OTP template to meeziotp

Template content: کد ورود : %token / میزی

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-05-29 02:55:02 +03:30
parent fc21471131
commit 27e61d257e
3 changed files with 4 additions and 4 deletions
@@ -208,7 +208,7 @@ public class KavenegarSmsService : ISmsService
var enabled = await _platform.GetAsync(DbKeyEnabled, ct);
// If explicitly disabled in DB, short-circuit
if (enabled is "false")
return (null, string.Empty, "verify");
return (null, string.Empty, "meeziotp");
var apiKey = await _platform.GetAsync(DbKeyApiKey, ct);
if (string.IsNullOrWhiteSpace(apiKey))
@@ -220,7 +220,7 @@ public class KavenegarSmsService : ISmsService
var template = await _platform.GetAsync(DbKeyOtpTemplate, ct);
if (string.IsNullOrWhiteSpace(template))
template = _configuration["Kavenegar:OtpTemplate"] ?? "verify";
template = _configuration["Kavenegar:OtpTemplate"] ?? "meeziotp";
return (apiKey, sender, template);
}