feat: add refresh token and global exception filter
This commit is contained in:
@@ -3,5 +3,15 @@
|
||||
"phone": "Phone",
|
||||
"password": "Password",
|
||||
"otp": "Otp"
|
||||
},
|
||||
"errors": {
|
||||
"wrongPhoneOrPass": "Entered phone number or password is wrong.",
|
||||
"unauthorized": "Unauthorized access",
|
||||
"tokenReuse": "Token reuse detected.",
|
||||
"invalidOTP": "OTP is invalid or expired."
|
||||
},
|
||||
"messages": {
|
||||
"otpSent": "OTP sent to {phone}.",
|
||||
"sendPass": "Please send password."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user