Skip to content

Commit

Permalink
Adding a few more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Jun 13, 2024
1 parent 4be2264 commit f67b43c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion content/docs/install/breeze/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
10 changes: 9 additions & 1 deletion content/docs/install/filament/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://filamentphp.com/docs/3.x/panels/installation#installation" target="_blank">Filament install guides here</a>. This will get you up and running with a new Filament application.

After installing Filament we can go through the basic install steps:

Expand All @@ -41,4 +41,12 @@ Run the database migrations:

<include src="docs/install/code/extend-model.html"></include>

## 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.
2 changes: 1 addition & 1 deletion content/docs/install/genesis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
12 changes: 11 additions & 1 deletion content/docs/install/jetstream/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit f67b43c

Please sign in to comment.