• Resolved antviss22

    (@antviss22)


    function __construct() {
        	add_action( 'init', array( $this, 'postResgiter' ) );
    		if ( get_option( 'mo_enable_firebase_auth' ) == 1 ) {
    			remove_filter( 'authenticate', 'wp_authenticate_username_password', 20, 3 );
    			 remove_filter( 'authenticate', 'wp_authenticate_email_password', 20, 3 );
    			add_filter( 'authenticate', array( $this, 'mo_firebase_auth' ), 0, 3 );
    		}
        }

    In the above code you are removing both WP authentication types when Firebase auth is enabled, but this doesn’t account for the option of BOTH WP and Firebase you have in the plugin.

    You are removing all options to WP authenticate if Firebase is on.

    For the time being I commented out the remove_filter for the option I want to keep, but please account for BOTH in the next update.

Viewing 1 replies (of 1 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi there,

    Thanks for reaching out to us.

    We have overridden the WP filter with our filter to get control of authentication in our plugin.
    To log in with both WP and Firebase you have to enable Firebase Authentication in the plugin and then choose the option to Allow login with both Firebase and WordPress.

    Did you face any issue while logging into WordPress after selecting the above option?
    Can you tell us more about your use case so that we can point you in the right direction?

    Let us know if you have any questions. We’d be happy to help.

    Have a great day!

    Thanks
    Team miniOrange

Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect verification’ is closed to new replies.