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

Update SessionController.php #64

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Conversation

Ultimater
Copy link
Member

@Ultimater Ultimater commented Jul 28, 2017

This is a kind of counter-intuitive change, but the field is named "email" but the system actually treats it as a username when it looks it up in the database. Kind of a dirty quick fix for now. Perhaps somebody can go around and rename all instances of $_POST['email'] to $_POST['username'] etc.

This is a kind of counter-intuitive change, but the field is named "email" but the system actually treats it as a username when it looks it up in the database. Kind of a dirty quick fix for now. Perhaps somebody can go around and renamed all instances of `$_POST['email']` to $_POST['username'] etc.
@sergeyklay sergeyklay merged commit 72bae11 into phalcon:master Jul 28, 2017
@sergeyklay
Copy link
Contributor

Thank you

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