fix API reset password
This commit is contained in:
@ -90,7 +90,7 @@ const AuthProvider = ({ children }: PropsWithChildren) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const requestPasswordResetLink = async (email: string) => {
|
const requestPasswordResetLink = async (email: string) => {
|
||||||
await axios.put(FORGOT_PASSWORD_URL + '/' + email + '/credit/');
|
await axios.put(FORGOT_PASSWORD_URL + '/' + email);
|
||||||
};
|
};
|
||||||
|
|
||||||
const changePassword = async (token: string, password: string, retype_password: string) => {
|
const changePassword = async (token: string, password: string, retype_password: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user