Title: Plugin blocks a contact form
Last modified: December 11, 2020

---

# Plugin blocks a contact form

 *  Resolved [bacherprepress](https://wordpress.org/support/users/bacherprepress/)
 * (@bacherprepress)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-a-contact-form/)
 * Hi
 * On my custom login Page i have a contact-form inside a popup to let interested
   new customers request login credentials.
 * This form cannot be submitted while the plugin is running (it works fine if i
   deactivate force login). Any idea how to fix this?
 * this is a Link to a screenshot:
    [https://www.directupload.net/file/d/6029/ng737cpd_png.htm](https://www.directupload.net/file/d/6029/ng737cpd_png.htm)
 * kind regards
    Christoph
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-blocks-a-contact-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-a-contact-form/#post-13777429)
 * This seems to be an AJAX / REST API issue.
 * Force Login 5.0 or greater restricts access to the REST API for authorized users
   only. To allow the REST API to be publicly accessible again, try adding one of
   the following code snippets to your functions.php file:
 *     ```
       add_filter( 'rest_authentication_errors', '__return_true' );
       ```
   
 * OR
 *     ```
       remove_filter( 'rest_authentication_errors', 'v_forcelogin_rest_access', 99 );
       ```
   
 * Also, check out this support topic about [Force Login and Contact Form 7](https://wordpress.org/support/topic/forge-login-and-contact-form-7/#post-10337800).
 *  Thread Starter [bacherprepress](https://wordpress.org/support/users/bacherprepress/)
 * (@bacherprepress)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-a-contact-form/#post-13777815)
 * Hi Kevin
 * Yes, that did the Trick.
 * Thanks for your helpful support.
    i’ve donated a couple of coffes.
 * Christoph
 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-a-contact-form/#post-13778506)
 * Thanks! That is much appreciated!
 * I’m glad you got it working.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin blocks a contact form’ is closed to new replies.

 * ![](https://ps.w.org/wp-force-login/assets/icon.svg?rev=1904031)
 * [Force Login](https://wordpress.org/plugins/wp-force-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-force-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-force-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-force-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-force-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-force-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/plugin-blocks-a-contact-form/#post-13778506)
 * Status: resolved