Automatically update the user data when 2FA is enabled
This commit is contained in:
parent
eb39826f46
commit
2a653cdd8d
2 changed files with 16 additions and 23 deletions
|
@ -20,7 +20,7 @@ export default () => {
|
|||
</div>
|
||||
:
|
||||
<div>
|
||||
<SetupTwoFactorModal visible={visible} onDismissed={() => setVisible(false)}/>
|
||||
{visible && <SetupTwoFactorModal visible={visible} onDismissed={() => setVisible(false)}/>}
|
||||
<p className={'text-sm'}>
|
||||
You do not currently have two-factor authentication enabled on your account. Click
|
||||
the button below to begin configuring it.
|
||||
|
|
Reference in a new issue