Fix send reset code UI
This commit is contained in:
@@ -903,7 +903,6 @@ export function HomepageAuth({
|
|||||||
{recoveryStep === "request" && (
|
{recoveryStep === "request" && (
|
||||||
<>
|
<>
|
||||||
<div className="text-center text-muted-foreground mb-4">
|
<div className="text-center text-muted-foreground mb-4">
|
||||||
<p>🔥 Password Recovery with Docker Access</p>
|
|
||||||
<p className="text-sm mt-2">
|
<p className="text-sm mt-2">
|
||||||
Recovery requires server access to view Docker logs
|
Recovery requires server access to view Docker logs
|
||||||
</p>
|
</p>
|
||||||
@@ -942,9 +941,6 @@ export function HomepageAuth({
|
|||||||
Check Docker logs for recovery code for{" "}
|
Check Docker logs for recovery code for{" "}
|
||||||
<strong>{localUsername}</strong>
|
<strong>{localUsername}</strong>
|
||||||
</p>
|
</p>
|
||||||
<div className="mt-2 p-3 bg-gray-100 dark:bg-gray-800 rounded text-sm font-mono">
|
|
||||||
docker logs termix | grep RECOVERY
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
@@ -992,7 +988,6 @@ export function HomepageAuth({
|
|||||||
{recoveryStep === "login" && (
|
{recoveryStep === "login" && (
|
||||||
<>
|
<>
|
||||||
<div className="text-center text-muted-foreground mb-4">
|
<div className="text-center text-muted-foreground mb-4">
|
||||||
<p>✅ Recovery verification successful!</p>
|
|
||||||
<p className="text-sm mt-2">
|
<p className="text-sm mt-2">
|
||||||
Click below to complete login for{" "}
|
Click below to complete login for{" "}
|
||||||
<strong>{localUsername}</strong>
|
<strong>{localUsername}</strong>
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ export function PasswordReset({ userInfo }: PasswordResetProps) {
|
|||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
className="w-full h-11 text-base font-semibold"
|
className="w-full h-11 text-base"
|
||||||
disabled={resetLoading || !userInfo.username.trim()}
|
disabled={resetLoading || !userInfo.username.trim()}
|
||||||
onClick={handleInitiatePasswordReset}
|
onClick={handleInitiatePasswordReset}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -455,7 +455,7 @@ export function TOTPSetup({
|
|||||||
<Button
|
<Button
|
||||||
onClick={handleSetupStart}
|
onClick={handleSetupStart}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
className="w-full"
|
className="w-full h-11 text-base"
|
||||||
>
|
>
|
||||||
{loading ? t("common.settingUp") : t("auth.enableTwoFactorButton")}
|
{loading ? t("common.settingUp") : t("auth.enableTwoFactorButton")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user