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

Specify null return when no user #145

Merged
merged 1 commit into from
Dec 11, 2019
Merged

Conversation

MGatner
Copy link
Collaborator

@MGatner MGatner commented Dec 11, 2019

AuthenticationBase can return the current User ID via id() but it will fail if there is no logged in user because $this->user is null. This catches that case and returns null instead.

@lonnieezell lonnieezell merged commit 948728b into lonnieezell:develop Dec 11, 2019
@MGatner MGatner deleted the id-null branch December 11, 2019 11:40
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