ADD:API RESET -request and password and Refresh access token
This commit is contained in:
parent
c557c383e3
commit
ae771420be
8 changed files with 55 additions and 29 deletions
|
|
@ -183,7 +183,7 @@ export const useAuth = () => {
|
|||
}
|
||||
|
||||
// Confirm Reset Password
|
||||
const confirmResetPassword = async (payload: { id: number; token: string; password: string }) => {
|
||||
const confirmResetPassword = async (payload: { token: string; password: string }) => {
|
||||
try {
|
||||
const { error } = await useFetch(`${API_BASE_URL}/auth/reset-password`, {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue