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

Fix check if the email or displayname exists without excluding a profile #2286

Merged
merged 1 commit into from
Oct 4, 2017

Conversation

carakas
Copy link
Member

@carakas carakas commented Oct 3, 2017

Type

  • Non critical bugfix

Pull request description

not all mysql servers support this caused the check to see if the email address or display name was valid to fail sometimes

@carakas carakas added this to the 5.0.5 milestone Oct 3, 2017
@carakas carakas requested a review from a team October 3, 2017 15:29
@jonasdekeukelaere
Copy link
Member

Looks like the wrong fix to me, you should build the query accordingly (with or without the id check).

@tijsverkoyen
Copy link
Member

I don't get what the bug is, and why we should pass 0 instead of null?
I agree with Jonas, that the query should be fixed, not the parameters.

not all mysql servers support  this caused the check to see if the email address was valid to fail sometimes
@carakas
Copy link
Member Author

carakas commented Oct 4, 2017

@jonasdekeukelaere @tijsverkoyen true, it was a bit of a quickfix, improved it in 7b52960

@carakas carakas merged commit 5acd08b into forkcms:master Oct 4, 2017
@carakas carakas deleted the fix-forgot-password branch October 4, 2017 14:58
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.

3 participants