fix: fix some changes

This commit is contained in:
2026-09-14 15:55:18 +03:30
parent bc333b8289
commit 7658ba805d
3 changed files with 6 additions and 6 deletions
+1
View File
@@ -5,6 +5,7 @@
"otp": "Otp" "otp": "Otp"
}, },
"errors": { "errors": {
"otpAlreadySent": "OTP already sent. Please try again in 1 minute.",
"wrongPhoneOrPass": "Entered phone number or password is wrong.", "wrongPhoneOrPass": "Entered phone number or password is wrong.",
"unauthorized": "Unauthorized access", "unauthorized": "Unauthorized access",
"tokenReuse": "Token reuse detected.", "tokenReuse": "Token reuse detected.",
+1
View File
@@ -5,6 +5,7 @@
"otp": "کد تایید" "otp": "کد تایید"
}, },
"errors": { "errors": {
"otpAlreadySent": "کد تایید قبلا ارسال شده. لطفا دقایقی دیگر مجددا امتحان کنید.",
"wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.", "wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.",
"unauthorized": "دسترسی غیر مجاز", "unauthorized": "دسترسی غیر مجاز",
"tokenReuse": "توکن قبلا استفاده شده.", "tokenReuse": "توکن قبلا استفاده شده.",
+4 -6
View File
@@ -51,12 +51,10 @@ export class LoginProvider {
return { return {
message, message,
data: { newUser: true,
newUser: true, otpExpiresAt: otpCode.expiresAt,
otpExpiresAt: otpCode.expiresAt, // Just for development
// Just for development code: otpCode.code,
code: otpCode.code,
},
}; };
} }