ronenlan
Forum Replies Created
-
Hey,
Thanks for the answer.
Actually, I did edit it there but it doesn’t seem to work.
Also, it’s important to mention that it did work before the last update.Here is an image of my current settings: https://ibb.co/G53LNSQ
Thanks!
Thank for you answer.
I do aware that currently this feature isn’t available in the plugin.My question is what will be the best way for me to implement this feature using your plugin.
For example, I can replace the current UI and Ajax calls that associated with it and use the server side function for registration and login.
Is it possible?
If so, could you please share with me some information about what will be the best way to do it and what functions should I use?Thanks in advance!
Hey Saroj!
Thanks a lot for your answer.
Unfortunately, it’s still doesn’t work but there is also a problem with non-blank fields.
For example, if I try to login with an email address that ins’t associated to any account, the action is not firing as well.
This is the code I am using to catch ‘wp_login_failed’:
//after unsuccessful login add_action('wp_login_failed', 'user_unsuccessful_login', 10, 2); function user_unsuccessful_login( $user_login,$error) { e()->track("User unsuccessfully tried to log in", array("Email" => $user_login, "Error" => $error->get_error_codes())); }This code seems to execute only when the email address is correct and the password is not.
When the email is blank or not associated to any user account, the function isn’t called.
This happens also after adding the code you shared with me.
Thanks a lot in advance!