add mui lab and @resolver/yup for react hook form package and complete change password part with validation and test proccess

This commit is contained in:
2024-08-24 14:39:04 +03:30
parent c2e0420b79
commit 52e7fae709
5 changed files with 144 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
const api = process.env.NEXT_PUBLIC_API_URL;
export const GET_USER_ROUTE = api + "/api/v3/profile/info";
export const CHANGE_USER_PASSWORD = api + "/api/v3/profile/change_password";
export const GET_LOGIN_ROUTE = api + "/login_dev";
export const GET_INQUIRY_PRIVACY_FENCING_ROUTE = api + "/api/v3/harim/divarkeshi";
export const GET_PERMISSIONS_ROUTE = api + "/webapi/user/get-permission";