fix : auth message

This commit is contained in:
2026-02-07 11:22:40 +03:30
parent c6d14492c1
commit 27472034b4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ export const enum AuthMessage {
PHONE_REGISTERED = "شماره ثبت شد",
INVALID_PHONE_FORMAT = "فرمت شماره تلفن صحیح نیست",
OTP_SENT = "کد یکبار مصرف به شماره شما ارسال شد.",
OTP_SENTـTO_EMAIL = "کد یکبار مصرف به ایمیل شما ارسال شد.",
INVALID_PHONE = "شماره موبایل اشتباه می باشد",
INVALID_CREDENTIAL = "شماره موبایل یا رمز عبور اشتباه می باشد",
OTP_FAILED = "کد یا شماره موبایل اشتباه است",
+1 -1
View File
@@ -275,7 +275,7 @@ export class AuthService {
this.logger.log(`otp code: ${otpCode} for email: ${email}`);
return { message: 'success' }
return { message: AuthMessage.OTP_SENTـTO_EMAIL }
}
async verifyForgotPasswordOtp(dto: VerifyForgotPasswordOtpDto) {