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

Allow configuring password broker and enable throttle #1059

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

antonioribeiro
Copy link
Member

Well this PR does exactly what the title says 😆

  • Allow users to configure their own password broker on config/auth.php.
  • Throttles password requests to 1 per minute.

@antonioribeiro
Copy link
Member Author

Users will, of course, set this on their auth.php file:

'passwords' => [
    'users' => [
        'provider' => 'users',
        'table' => 'password_resets',
        'expire' => 60,
        'throttle' => 60,
    ],

    'twill_users' => [
        'provider' => 'twill_users',
        'table' => 'twill_password_resets',
        'expire' => 60,
        'throttle' => 60,
    ],
],

@ifox ifox merged commit b421561 into area17:2.x Jul 22, 2021
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