This commit is contained in:
2025-12-29 11:21:31 +03:30
parent f6e52d4522
commit 4da95844a2
3 changed files with 817 additions and 817 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: null };
return { code };
}
async verifyOtp(phone: string, slug: string, code: string) {