This commit is contained in:
@@ -52,7 +52,7 @@ export class AuthService {
|
|||||||
const key = isAdmin ? this.adminOtpKey(slug, normalizedPhone) : this.userOtpKey(slug, normalizedPhone);
|
const key = isAdmin ? this.adminOtpKey(slug, normalizedPhone) : this.userOtpKey(slug, normalizedPhone);
|
||||||
await this.cacheService.set(key, code, this.OTP_EXPIRATION_TIME);
|
await this.cacheService.set(key, code, this.OTP_EXPIRATION_TIME);
|
||||||
|
|
||||||
// await this.smsService.sendotp(normalizedPhone, code);
|
await this.smsService.sendotp(normalizedPhone, code);
|
||||||
|
|
||||||
console.log('code', code);
|
console.log('code', code);
|
||||||
return { code: null };
|
return { code: null };
|
||||||
|
|||||||
Reference in New Issue
Block a user