Skip to content

Commit

Permalink
affiche le mot de passe
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudambro committed Oct 14, 2024
1 parent d89cd6c commit 1bc5d57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/routes/app._accueil.connexion.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Input } from "@codegouvfr/react-dsfr/Input";
import { json, Link, useFetcher, useSearchParams, redirect, type ClientActionFunctionArgs } from "@remix-run/react";
import { Button } from "@codegouvfr/react-dsfr/Button";
import { PasswordInput } from "@codegouvfr/react-dsfr/blocks/PasswordInput";
import type { ConnexionActionData } from "~/routes/api.action.connexion";
import { setCacheItem } from "~/services/indexed-db.client";
import { getUserOnboardingRoute } from "~/utils/user-onboarded.client";
Expand Down Expand Up @@ -82,7 +83,7 @@ export default function Connexion() {
defaultValue: import.meta.env.VITE_EMAIL ?? "",
}}
/>
<Input
<PasswordInput
hintText="Veuillez entrer votre mot de passe"
label="Mon mot de passe"
state={getErrorMessage("mot de passe") ? "error" : "default"}
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default defineConfig(({ mode }) => {
v3_fetcherPersist: true,
v3_relativeSplatPath: true,
v3_throwAbortReason: true,
unstable_optimizeDeps: true,
},
ignoredRouteFiles: isSpaMode ? ["**/routes/api.*"] : ["**/routes/app.*"],
}),
Expand Down

0 comments on commit 1bc5d57

Please sign in to comment.