-
- async handlePasswordReset(i: Login, event: any) {
- event.preventDefault();
- const email = i.state.form.username_or_email;
- if (email) {
- const res = await HttpService.client.passwordReset({ email });
- if (res.state == "success") {
- toast(I18NextService.i18n.t("reset_password_mail_sent"));
- }
- }
- }