perrybutler / WP-OAuth

A WordPress plugin that allows users to login or register by authenticating with an existing Google, Facebook, LinkedIn, Github, Reddit or Windows Live account via OAuth 2.0. Easily drops into new or existing sites, integrates with existing users.
GNU General Public License v2.0
97 stars 76 forks source link

Moved everything from register.php into a class #23

Open iamntz opened 9 years ago

iamntz commented 9 years ago

I refactored register.php completely:

I only tested with FB auth; probably it's a good idea to test with other providers first before merging :)

vitormattos commented 9 years ago

Great work! @perrybutler , when will accept this pull request?

iamntz commented 9 years ago

@vitormattos @perrybutler This PR should be OK, but i kind of diverged quite a lot of the main code in order to make things to fit my needs (e.g. make possible to hook on registration process and add various extra steps):

https://github.com/iamntz/WP-OAuth/tree/complete-fb-flow

Unfortunately, things might diverged too much to be possible to merge into main repo.

perrybutler commented 9 years ago

Appreciate the pull requests, I will have a look at this and the others.