Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to use a custom 2fa page #208

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

boris-glumpler
Copy link
Contributor

The Filament auth pages can be user-defined and this PR adds that same ability to Breezy. This is especially useful if you want to style the auth pages by setting a custom layout, like so:

use Jeffgreco13\FilamentBreezy\Pages\TwoFactorPage;

class TwoFactor extends TwoFactorPage
{
    protected static string $layout = 'layouts.auth';
}

Copy link
Owner

@jeffgreco13 jeffgreco13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition! Please add to the README and I will merge.

@boris-glumpler
Copy link
Contributor Author

It's always the readme, eh? ;) Done!

@jeffgreco13
Copy link
Owner

@boris-glumpler thank you for your efforts!! v2 had too much go undocumented, which ended up creating a swarm of support issues :)
Merging in.

@jeffgreco13 jeffgreco13 reopened this Aug 15, 2023
@jeffgreco13 jeffgreco13 merged commit ab3515c into jeffgreco13:2.x Aug 15, 2023
@boris-glumpler boris-glumpler deleted the custom-2f-page branch August 15, 2023 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants