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

[Bug] Method rehashPasswordIfRequired calling when password_column is false on Laravel 11 #645

Closed
marceloarklok opened this issue Apr 3, 2024 · 2 comments · Fixed by #647
Labels
bug Something isn't working

Comments

@marceloarklok
Copy link

Environment:

  • LDAP Server Type: ActiveDirectory
  • LdapRecord-Laravel Major Version: 3.3.1
  • PHP Version: 8.2
  • Laravel Version: ^11.0

Describe the bug:
The following error appears in Laravel 11:
Column not found: 1054 Unknown column 'password' in 'field list'

The method above is calling even when password_column is false:

class:"Illuminate\\Auth\\EloquentUserProvider"
file: "\vendor\\directorytree\\ldaprecord-laravel\\src\\Auth\\DatabaseUserProvider.php"
function: "rehashPasswordIfRequired"
line: 209

@marceloarklok marceloarklok added the bug Something isn't working label Apr 3, 2024
@stevebauman

This comment was marked as outdated.

@stevebauman
Copy link
Member

Whoops scratch that -- I see the problem here, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants