Title: Incorrect verification
Last modified: December 14, 2019

---

# Incorrect verification

 *  Resolved [antviss22](https://wordpress.org/support/users/antviss22/)
 * (@antviss22)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/incorrect-verification/)
 *     ```
       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](https://wordpress.org/support/users/cyberlord92/)
 * (@cyberlord92)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/incorrect-verification/#post-12272630)
 * 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.

 * ![](https://ps.w.org/firebase-authentication/assets/icon-128x128.png?rev=2191324)
 * [Firebase Authentication](https://wordpress.org/plugins/firebase-authentication/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/firebase-authentication/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/firebase-authentication/)
 * [Active Topics](https://wordpress.org/support/plugin/firebase-authentication/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/firebase-authentication/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/firebase-authentication/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/incorrect-verification/#post-12272630)
 * Status: resolved