Login and Registration using wp-login.php
-
I was very happy when i found your plugin.
I’m relatively new into WordPress and PHP.
I’m using the standard WordPress Login Page wp-login.php. I just changed the style with LoginPress.I have some issues to connect my Google Firebase Authentication with my WordPress Login Page.
However, I already understood, that WP works with action and filter hooks.
I figured out, that i need to subscripe to the action ‘password_reset’ for user registration and to the filter ‘wp_authorication_user’ for the standard User login.After reviewing your Code using the Shortcodes, I decided that to not overcomplicate my Login Page by customizing it with your Shortcodes.
Instead I want to hook your Plugin into the regular loginprocess.So I wanted to connect your Firebase Integration Plugin with the fired hooks. What I did so far, was to unanonymize your function for signIn and duplicated it for registration, using the function
firebase.auth().createUserWithEmailAndPassword(email, password)
instead offirebase.auth().signInWithEmailAndPassword(email, password)
.However when i wrote my add_action/add_filter functions and registered and enqueued your script, nothing happend.
It’s like the script is getting included to my Clients Page but not executed.
Even var_dumps will not be displayed.I thought maybe you got some more elegant solution for me, using your plugin by hooking up it into a regular login process. ??
Glad to hear from you.Yours Mikro1st
- The topic ‘Login and Registration using wp-login.php’ is closed to new replies.