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

[1.x] Fix an issue with array to string conversion #333

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Dec 6, 2021

If a different type than string (like an array) is posted for the login route then an array to string error can occur. Doing a simple string type cast prevents this.

Fixes #332

@driesvints driesvints changed the title Fix an issue with array to string conversion [1.x] Fix an issue with array to string conversion Dec 6, 2021
@taylorotwell taylorotwell merged commit c40843b into 1.x Dec 6, 2021
@taylorotwell taylorotwell deleted the fix-conversion-issue branch December 6, 2021 14:15
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.

'ErrorException : Array to string conversion' if an array is posted to the login endpoint's email field
2 participants