[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-06-16 17:03:10 +00:00 committed by GitHub
parent f38cf6b65f
commit e9e6c1b142
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,10 +20,8 @@ Additionally, we'll use [nuxt-aut-utils](https://github.com/Atinux/nuxt-auth-uti
### 1. Install nuxt-auth-utils ### 1. Install nuxt-auth-utils
Install the [auth-utils](https://github.com/Atinux/nuxt-auth-utils) module using the `nuxi` CLI. Install the [auth-utils](https://github.com/Atinux/nuxt-auth-utils) module using the `nuxi` CLI.
```bash ```bash
npx nuxi@latest module add auth-utils npx nuxi@latest module add auth-utils
``` ```
@ -398,6 +396,6 @@ const { data: users } = await useFetch("/api/users");
</template> </template>
``` ```
### Complete! ### Complete
We've successfully set up user registration and authentication in our Nuxt app. Users can now register, log in, and log out. We've also protected sensitive routes on the server and client side to ensure that only authenticated users can access them. We've successfully set up user registration and authentication in our Nuxt app. Users can now register, log in, and log out. We've also protected sensitive routes on the server and client side to ensure that only authenticated users can access them.