mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Automatically update the user data when 2FA is enabled
This commit is contained in:
@@ -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 New Issue
Block a user