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

LDAP model lookup from Auth Provider #2750

Merged
merged 8 commits into from
Feb 13, 2025

Conversation

crossplatformconsulting
Copy link
Contributor

@crossplatformconsulting crossplatformconsulting commented Oct 31, 2024

include ldap check to get the correct model - when using ldap, check for the database model.
(ldap still uses the App\Models\User, just indirectly)

Replaces #2744

@crossplatformconsulting
Copy link
Contributor Author

apologies.. i accidentally deleted my fork before the PR was completed. re-initiated.

@drbyte drbyte changed the title Ldap adjustments LDAP model lookup from Auth Provider Oct 31, 2024
@crossplatformconsulting
Copy link
Contributor Author

could it be the :?string ? here:
function getModelForGuard(string $guard): ?string

@drbyte
Copy link
Collaborator

drbyte commented Feb 13, 2025

Thanks

@drbyte drbyte merged commit 6c7b1de into spatie:main Feb 13, 2025
39 checks passed
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