From f67b43cf4c338e80057486f375389147bcdc7d75 Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Thu, 13 Jun 2024 18:54:54 -0400 Subject: [PATCH] Adding a few more updates --- content/docs/install/breeze/index.md | 2 +- content/docs/install/filament/index.md | 10 +++++++++- content/docs/install/genesis/index.md | 2 +- content/docs/install/jetstream/index.md | 12 +++++++++++- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/content/docs/install/breeze/index.md b/content/docs/install/breeze/index.md index ba5d177..4b8d279 100644 --- a/content/docs/install/breeze/index.md +++ b/content/docs/install/breeze/index.md @@ -59,7 +59,7 @@ Route::middleware('guest')->group(function () { ## Enable the Name Field for Registration -As Breeze depends on the `name` field for registration, you'll need to enable this option in the DevDojo Auth package. +As Breeze depends on the `name` field for registration, you'll want to enable this option in the setup page. You can do that by visiting the `/auth/setup` route, clicking on `Settings`, and enabling the `Registration Include Name Field` option. diff --git a/content/docs/install/filament/index.md b/content/docs/install/filament/index.md index fffe91a..d3dda4c 100644 --- a/content/docs/install/filament/index.md +++ b/content/docs/install/filament/index.md @@ -15,7 +15,7 @@ In this installation page we'll show you the steps to install Auth inside of a n ## 1. Create a new Filament application -After creating a blank new Laravel application, you'll want to follow the [Filament install guides here](https://filamentphp.com/docs/3.x/panels/installation#installation). This will get you up and running with a default Filament application. +After creating a new Laravel application, you'll want to follow the Filament install guides here. This will get you up and running with a new Filament application. After installing Filament we can go through the basic install steps: @@ -41,4 +41,12 @@ Run the database migrations: +## Enable the Name Field for Registration + +The Filament admin panel utilizes the user `name` field, you'll want to enable this option in the setup page. + +You can do that by visiting the `/auth/setup` route, clicking on `Settings`, and enabling the `Registration Include Name Field` option. + +--- + That's it! DevDojo Auth package is now successfully installed in your Filament application. \ No newline at end of file diff --git a/content/docs/install/genesis/index.md b/content/docs/install/genesis/index.md index bc0df4d..27f3e25 100644 --- a/content/docs/install/genesis/index.md +++ b/content/docs/install/genesis/index.md @@ -55,7 +55,7 @@ npm install && npm run dev ## 6. Enable the Name Field for Registration -As Genesis depends on the `name` field for registration, you'll need to enable this option in the DevDojo Auth package. +As Genesis depends on the `name` field for registration, you'll want to enable this option in the setup page. You can do that by visiting the `/auth/setup` route, clicking on `Settings`, and enabling the `Registration Include Name Field` option. diff --git a/content/docs/install/jetstream/index.md b/content/docs/install/jetstream/index.md index 7437b2d..3ead85b 100644 --- a/content/docs/install/jetstream/index.md +++ b/content/docs/install/jetstream/index.md @@ -66,6 +66,16 @@ and you'll also need to comment out the `registration`, `resetPassword`, `emailV ], ``` -You may also want to toggle the `Registration Include Name Field` from the `/auth/setup` settings page. This will allow the user to add their name upon registration. +## Enable the Name Field for Registration + +As Breeze depends on the `name` field for registration, you'll want to enable this option in the setup page. + +You can do that by visiting the `/auth/setup` route, clicking on `Settings`, and enabling the `Registration Include Name Field` option. + +## Conditionally Enable 2FA + +If you want to enable two-factor authentication on your site you can do that by visiting `/auth/setup` and clicking on the `settings` section. Then toggle the `Enable 2fa` option and you users will now see the ability to enable two-factor authentication from their edit profile page. + +--- That's it! DevDojo Auth is now working with Jetstream. You can enable 2FA in the Auth settings page and it will enable/disable 2FA and work with the current Jetstream implementation.