Set Kavenegar OTP template to meeziotp
Template content: کد ورود : %token / میزی Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user