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

feat: Add full support for Laravel 11 #12

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

siketyan
Copy link
Contributor

Laravel 11 has been released with these new methods:

  • Authenticatable::getAuthPasswordName
  • AuthUserProvider::rehashPasswordIfRequired

These are not implemented yet in this library, so upgrading to Laravel 11 causes a PHP fatal error on the implementors:

PHP Fatal error:  Class App\Models\User contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Contracts\Auth\Authenticatable::getAuthPasswordName) in [REDACTED]

This pull requests adds full support of Laravel 11 by adding implementation for these methods.

Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
@mpyw mpyw merged commit 759382f into mpyw:master Mar 13, 2024
12 checks passed
@siketyan siketyan deleted the feat/laravel-11 branch March 13, 2024 03:41
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