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"
},
"errors": {
"otpAlreadySent": "OTP already sent. Please try again in 1 minute.",
"wrongPhoneOrPass": "Entered phone number or password is wrong.",
"unauthorized": "Unauthorized access",
"tokenReuse": "Token reuse detected.",
+1
View File
@@ -5,6 +5,7 @@
"otp": "کد تایید"
},
"errors": {
"otpAlreadySent": "کد تایید قبلا ارسال شده. لطفا دقایقی دیگر مجددا امتحان کنید.",
"wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.",
"unauthorized": "دسترسی غیر مجاز",
"tokenReuse": "توکن قبلا استفاده شده.",
+4 -6
View File
@@ -51,12 +51,10 @@ export class LoginProvider {
return {
message,
data: {
newUser: true,
otpExpiresAt: otpCode.expiresAt,
// Just for development
code: otpCode.code,
},
newUser: true,
otpExpiresAt: otpCode.expiresAt,
// Just for development
code: otpCode.code,
};
}