send code

This commit is contained in:
2025-12-29 00:00:37 +03:30
parent d506284ef4
commit 352bbe2770
2 changed files with 317 additions and 317 deletions
+2 -2
View File
@@ -44,9 +44,9 @@ export class AuthService {
const key = isAdmin ? this.adminOtpKey(slug, normalizedPhone) : this.userOtpKey(slug, normalizedPhone);
await this.cacheService.set(key, code, this.OTP_EXPIRATION_TIME);
// await this.smsService.sendOtp(normalizedPhone, code);
await this.smsService.sendotp(normalizedPhone, code);
return { code };
return { code: null };
}
async verifyOtp(phone: string, slug: string, code: string) {