fix: fix some changes
This commit is contained in:
@@ -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.",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"otp": "کد تایید"
|
||||
},
|
||||
"errors": {
|
||||
"otpAlreadySent": "کد تایید قبلا ارسال شده. لطفا دقایقی دیگر مجددا امتحان کنید.",
|
||||
"wrongPhoneOrPass": "شماره موبایل یا رمز عبور اشتباه است.",
|
||||
"unauthorized": "دسترسی غیر مجاز",
|
||||
"tokenReuse": "توکن قبلا استفاده شده.",
|
||||
|
||||
@@ -51,12 +51,10 @@ export class LoginProvider {
|
||||
|
||||
return {
|
||||
message,
|
||||
data: {
|
||||
newUser: true,
|
||||
otpExpiresAt: otpCode.expiresAt,
|
||||
// Just for development
|
||||
code: otpCode.code,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user