fix: update the dialog cancel to reset
This commit is contained in:
@@ -202,7 +202,7 @@ export const EnableAuthenticatorAppDialog = ({
|
||||
variant="secondary"
|
||||
onClick={() => {
|
||||
onOpenChange(false);
|
||||
setupTwoFactorAuthenticationForm.setValue('password', '');
|
||||
setupTwoFactorAuthenticationForm.reset();
|
||||
}}
|
||||
>
|
||||
Cancel
|
||||
|
||||
Reference in New Issue
Block a user