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>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{onRecoveryCodesChange && (
|
||||||
<div className="mb-1 flex items-center justify-between">
|
<div className="mb-1 flex items-center justify-between">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
name="recovery-codes"
|
name="recovery-codes"
|
||||||
@@ -179,6 +180,7 @@ const AdvancedOptions: FunctionComponent<Props> = ({
|
|||||||
onChange={handleIsRecoveryCodesChange}
|
onChange={handleIsRecoveryCodesChange}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{isRecoveryCodes && (
|
{isRecoveryCodes && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user