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

[make:security] Add throttling support to authenticator maker #1524

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Apr 24, 2024

Reopening #1406
In the MakeAuthenticator class, a new optional argument 'support-throttling' was added. This allows the user to specify if they want to enable throttling protection during the authentication generation process. If 'support-throttling' is enabled, the LimiterInterface dependency is added and the 'throttling' node is set in the firewall configuration.

@Spomky Spomky force-pushed the enhanced-auth branch 3 times, most recently from 3897b2d to 239554d Compare April 24, 2024 06:36
In the MakeAuthenticator class, a new optional argument 'support-throttling' was added. This allows the user to specify if they want to enable throttling protection during the authentication generation process. If 'support-throttling' is enabled, the LimiterInterface dependency is added and the 'throttling' node is set in the firewall configuration.
@@ -209,6 +210,15 @@ function ($answer) {
$supportRememberMeValues[$supportRememberMeType]
);
}

$command->addArgument('support-throttling', InputArgument::OPTIONAL);
Copy link
Collaborator

Choose a reason for hiding this comment

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

MakeAuthenticator is being deprecated - we are not adding any new features to it.

Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

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

Howdy @Spomky

Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

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

Howdy @Spomky - Sorry for the double review... Coffee has not kicked in yet...

Anywho, as I said in #1406 (comment) make:auth is being deprecated in favor of the make:security:form-login command. We are not adding any new features to make:auth at this time.

@jrushlow jrushlow added Status: Needs Work Additional work is needed duplicate labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Status: Needs Work Additional work is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants