We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 837237c commit 7b6da90Copy full SHA for 7b6da90
2 files changed
assets/src/js/frontend/dashboard/pages/settings.ts
@@ -311,6 +311,7 @@ const settings = () => {
311
312
await this.resetPasswordMutation?.mutate(data);
313
form.reset(formId, data as unknown as Record<string, unknown>);
314
+ window.location.reload();
315
},
316
};
317
templates/dashboard/account/settings/security.php
@@ -70,6 +70,8 @@ class="tutor-card tutor-card-rounded-2xl tutor-flex tutor-flex-column tutor-gap-
70
->size( Size::SMALL )
71
->attr( 'form', $form_id )
72
->attr( 'type', 'submit' )
73
+ ->attr( ':class', "{ 'tutor-btn-loading': resetPasswordMutation?.isPending }" )
74
+ ->attr( ':disabled', 'resetPasswordMutation?.isPending' )
75
->get();
76
77
$modal_footer = sprintf(
0 commit comments