fix: fix some changes
This commit is contained in:
@@ -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.",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"otp": "کد تایید"
|
"otp": "کد تایید"
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
|
"otpAlreadySent": "کد تایید قبلا ارسال شده. لطفا دقایقی دیگر مجددا امتحان کنید.",
|
||||||
"wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.",
|
"wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.",
|
||||||
"unauthorized": "دسترسی غیر مجاز",
|
"unauthorized": "دسترسی غیر مجاز",
|
||||||
"tokenReuse": "توکن قبلا استفاده شده.",
|
"tokenReuse": "توکن قبلا استفاده شده.",
|
||||||
|
|||||||
@@ -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,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user