fix: Fixes Use recovery code option being shown on account creation (#2939)
This commit is contained in:
committed by
GitHub
parent
20787f0cc5
commit
0055696c35
@@ -170,6 +170,7 @@ const AdvancedOptions: FunctionComponent<Props> = ({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{onRecoveryCodesChange && (
|
||||
<div className="mb-1 flex items-center justify-between">
|
||||
<Checkbox
|
||||
name="recovery-codes"
|
||||
@@ -179,6 +180,7 @@ const AdvancedOptions: FunctionComponent<Props> = ({
|
||||
onChange={handleIsRecoveryCodesChange}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{isRecoveryCodes && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user