Add request password reset route
This commit is contained in:
@ -62,4 +62,15 @@ export class AuthApi {
|
||||
|
||||
sessionStorage.removeItem(TokenStateKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Request to reset password
|
||||
*/
|
||||
static async RequestResetPassword(mail: string): Promise<void> {
|
||||
await APIClient.exec({
|
||||
uri: "/auth/request_reset_password",
|
||||
method: "POST",
|
||||
jsonData: { mail: mail },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user