mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-13 23:45:17 +00:00
chore: simplify 2FA component rendering in profile form
This commit is contained in:
@@ -156,9 +156,8 @@ export const ProfileForm = () => {
|
|||||||
{t("settings.profile.description")}
|
{t("settings.profile.description")}
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-row gap-2">
|
|
||||||
{!data?.user.twoFactorEnabled ? <Enable2FA /> : <Configure2FA />}
|
{!data?.user.twoFactorEnabled ? <Enable2FA /> : <Configure2FA />}
|
||||||
</div>
|
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
|
|
||||||
<CardContent className="space-y-2 py-8 border-t">
|
<CardContent className="space-y-2 py-8 border-t">
|
||||||
|
|||||||
Reference in New Issue
Block a user