Skip to content

Commit e14a197

Browse files
i18n(fr): update guides/authentication.mdx (#12333)
Co-authored-by: Yan <[email protected]>
1 parent 3857d2c commit e14a197

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/fr/guides/authentication.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Auth.js est une solution d'authentification indépendante du framework. Un adapt
2525

2626
### Installation
2727

28-
Utilisez la commande `astro add` de votre gestionnaire de paquets préféré pour ajouter l'intégration `auth-astro`.
28+
Utilisez la commande `astro add` de votre gestionnaire de paquets préféré pour ajouter l'intégration `auth-astro` à un projet Astro configuré avec un [adaptateur de serveur](/fr/guides/on-demand-rendering/#adaptateurs-de-serveur) pour le rendu à la demande.
2929

3030
<PackageManagerTabs>
3131
<Fragment slot="npm">
@@ -69,12 +69,13 @@ Pour installer `auth-astro` manuellement, installez le paquet requis pour votre
6969

7070
Ensuite, appliquez l'intégration à votre fichier `astro.config.*` en utilisant la propriété `integrations` :
7171

72-
```ts title="astro.config.mjs" ins={2,6}
72+
```ts title="astro.config.mjs" ins={2,7}
7373
import { defineConfig } from 'astro/config';
7474
import auth from 'auth-astro';
7575

7676
export default defineConfig({
7777
// ...
78+
adapter: netlify(),
7879
integrations: [auth()],
7980
});
8081
```

0 commit comments

Comments
 (0)