rtCamp / login-with-google

Minimal plugin which allows WordPress user to login with google.
https://wordpress.org/plugins/login-with-google/
GNU General Public License v2.0
63 stars 17 forks source link

Feature request: Add action when user logs in #89

Closed Enchiridion closed 2 years ago

Enchiridion commented 3 years ago

Hi, I love this clean, minimalist login plugin and how well written the code is. I have a feature request.

Could you add some hooks after the user has been authenticated? On my site I want to track which method the user used to log in, either the normal WP login form or via Google. I've walked though the code but there aren't any hooks right after authentication so I can add the tracking in.

ankitrox commented 3 years ago

Hi @Enchiridion,

Thanks for your kind words and bringing the issue into focus.

I've raised a PR for addressing this issue as it seems to be a valid point.

You can update the plugin when the update is available.