Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Update DatbaseUserProvider.php to add missing method #287

Merged
merged 1 commit into from
Mar 27, 2017
Merged

Update DatbaseUserProvider.php to add missing method #287

merged 1 commit into from
Mar 27, 2017

Conversation

designvoid
Copy link
Contributor

The getModel method was missing and caused issues with some additional packages.

The getModel method was missing and caused issues with some additional packages.
@stevebauman stevebauman merged commit f699aaf into Adldap2:master Mar 27, 2017
@stevebauman
Copy link
Member

What packages in particular is this an issue with?

@designvoid
Copy link
Contributor Author

designvoid commented Mar 27, 2017 via email

@designvoid
Copy link
Contributor Author

Has this code been removed from master?

@stevebauman
Copy link
Member

@designvoid Yes it was. I implemented a __call method that will call upon the underlying EloquentUserProvider for missing methods.

This is actually an issue with that package, not Adldap2.

They're assuming the method is there, when it adheres to no contract:

https://github.com/laravel/framework/blob/5.5/src/Illuminate/Contracts/Auth/UserProvider.php

https://github.com/WildSideUK/Laravel-Userstamps/blob/master/src/Userstamps.php#L110-L122

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants