Skip to content

Make enabled() require a parameter by default. #51

@thyseus

Description

@thyseus

Please consider to not allow the

    FilamentDeveloperLoginsPlugin::make()
        ->enabled()

function to be used without any arguments.

I just accidentally pushed this to production for a few seconds.
YES. Its my fault, i should have read the documentation more carefully.
Anyway - its easy to avoid this mistake by making a parameter required.

If i really want it, i type:

->enabled(true)

then i actively need to think about what i am doing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions