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

removed password from posmeta and login fb user directly #107

Merged
merged 1 commit into from
Jun 8, 2015

Conversation

timersys
Copy link
Contributor

@timersys timersys commented Jun 5, 2015

Hi Zane, I think is not a good idea to store plain password in the postmeta table. Anyone with access to the database could login that user.

I changed the code a bit, as the user logs with facebook we are able to retrieve user_id, then we can directly login the user without the need of the password.

Anyway try it yourself and let me know. This is how Wordpress Social Login auths the user and my tests seems to work fine.

@zanematthew
Copy link
Owner

Yep, works for me, just tested. This one was one of the key issues on my list as well.

zanematthew pushed a commit that referenced this pull request Jun 8, 2015
removed password from posmeta and login fb user directly
@zanematthew zanematthew merged commit 87498fd into zanematthew:master Jun 8, 2015
@timersys timersys deleted the fb_login branch June 8, 2015 15:10
@zanematthew zanematthew modified the milestone: 1.1.1 Jun 8, 2015
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