Title: Settings Break `wp_login_form()`
Last modified: September 1, 2016

---

# Settings Break `wp_login_form()`

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/)
 * I have a [`wp_login_form()`](https://codex.wordpress.org/Function_Reference/wp_login_form)
   on my website. Whenever the the “Login Captcha” is enabled in the Brute Force
   section, the captcha does not show up for `wp_login_form()` and will always return
   a failure. Whenever this feature is disabled the form works as expected and allows
   users to log in.
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712431)
 * Hi, do you have all three Captcha settings enabled? If you have and you receive
   the above error message, can you disable all your other plugins except this one.
   Then carry out another test?
 * Thank you
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712433)
 * My Settings for Brute Force “Login Captcha” tab look like this:
 * Enable Captcha On Login Page: Enabled
    Enable Captcha On Custom Login Form: Disabled
   Enable Captcha On Lost Password Page: Disabled
 * The custom login form looks like this:
 *     ```
       wp_login_form( array(
       	'remember' 	=> false,
       	'label_log_in'	=> 'Login',
       	'redirect'	=> home_url(),
       ) );
       ```
   
 * I disabled all my plugins and it stilled denied me logins – When I disabled the
   only enabled setting ( as listed above ) it let me log in. The theme is a custom
   theme and there are no other login hooks.
 * Here’s an export of my settings with the disabled login captcha:
 * `{"aiowps_remove_wp_generator_meta_info":"","aiowps_prevent_hotlinking":"","aiowps_enable_login_lockdown":"
   1","aiowps_allow_unlock_requests":"1","aiowps_max_login_attempts":12,"aiowps_retry_time_period":
   5,"aiowps_lockout_time_length":60,"aiowps_set_generic_login_msg":"","aiowps_enable_email_notify":"","
   aiowps_email_address":"handle@domain.com","aiowps_enable_forced_logout":"1","
   aiowps_logout_time_period":360,"aiowps_enable_invalid_username_lockdown":"","
   aiowps_unlock_request_secret_key":"2zj8q166pmbfrn3ax0cx","aiowps_enable_whitelisting":"","
   aiowps_allowed_ip_addresses":"","aiowps_enable_login_captcha":"","aiowps_enable_custom_login_captcha":"","
   aiowps_captcha_secret_key":"hw14z0p01jrcsb9du8ko","aiowps_enable_manual_registration_approval":"","
   aiowps_enable_registration_page_captcha":"1","aiowps_enable_random_prefix":"","
   aiowps_enable_automated_backups":"","aiowps_db_backup_frequency":"4","aiowps_db_backup_interval":"
   2","aiowps_backup_files_stored":"2","aiowps_send_backup_email_address":"","aiowps_backup_email_address":"
   handle@domain.com","aiowps_disable_file_editing":"1","aiowps_prevent_default_wp_file_access":"","
   aiowps_system_log_file":"error_log","aiowps_enable_blacklisting":"","aiowps_banned_ip_addresses":"","
   aiowps_enable_basic_firewall":"","aiowps_enable_pingback_firewall":"","aiowps_block_debug_log_file_access":"","
   aiowps_disable_index_views":"","aiowps_disable_trace_and_track":"","aiowps_forbid_proxy_comments":"","
   aiowps_deny_bad_query_strings":"","aiowps_advanced_char_string_filter":"","aiowps_enable_5g_firewall":"","
   aiowps_enable_custom_rules":"","aiowps_custom_rules":"","aiowps_enable_404_logging":"","
   aiowps_enable_404_IP_lockout":"","aiowps_404_lockout_time_length":"60","aiowps_404_lock_redirect_url":"
   http:\/\/127.0.0.1","aiowps_enable_rename_login_page":"","aiowps_enable_login_honeypot":"
   1","aiowps_enable_brute_force_attack_prevention":"","aiowps_brute_force_secret_word":"","
   aiowps_cookie_brute_test":"","aiowps_cookie_based_brute_force_redirect_url":"
   http:\/\/127.0.0.1","aiowps_brute_force_attack_prevention_pw_protected_exception":"","
   aiowps_brute_force_attack_prevention_ajax_exception":"","aiowps_site_lockout":"","
   aiowps_site_lockout_msg":"","aiowps_enable_spambot_blocking":"","aiowps_enable_comment_captcha":"","
   aiowps_enable_automated_fcd_scan":"","aiowps_fcd_scan_frequency":"4","aiowps_fcd_scan_interval":"
   2","aiowps_fcd_exclude_filetypes":"","aiowps_fcd_exclude_files":"","aiowps_send_fcd_scan_email":"","
   aiowps_fcd_scan_email_address":"handle@domain.com","aiowps_fcds_change_detected":
   false,"aiowps_copy_protection":"","aiowps_prevent_site_display_inside_frame":"
   1","aiowps_enable_lost_password_captcha":"","aiowps_block_fake_googlebots":"1","
   aiowps_enable_debug":"","aiowps_enable_autoblock_spam_ip":"","aiowps_spam_ip_min_comments_block":"","
   aiowps_prevent_users_enumeration":"","aiowps_disable_xmlrpc_pingback_methods":"","
   aiowps_enable_6g_firewall":""}`
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712435)
 * Can you try the following.
 * Enable Captcha On Login Page: Disabled
    Enable Captcha On Custom Login Form: 
   Enabled Enable Captcha On Lost Password Page: Disabled
 * Thank you
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712436)
 * I’ve tried the suggested settings. It does not show the Captcha Form ( as the
   description suggests ) on the custom login but it does allow me to login.
 * I should have clarified a bit earlier, at any point I cannot log in through the
   custom form I can log in through `wp-admin` so this issue only appears to affect
   the `wp_login_form()`.
 * We’re currently running PHP 5.3.3
 * I’ve also replicated this issue on the Twenty Fifteen theme by pasting the above`
   wp_login_form()` code.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712439)
 * Hi, is the following [thread ](https://wordpress.org/support/topic/captcha-not-working-on-login-page-when-tried-to-login-using-email?replies=4)
   somewhat related to your current issue?
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712440)
 * All the failed attempts were tried with usernames and not email addresses. I 
   can test/ look into this issue further in 5 hours.
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7712570)
 * Looks like the newest version of AiOWPS (4.1.5) fixed the captcha issue. Thanks
   for the support!
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7720693)
 * I am glad to hear 🙂
 * Enjoy the plugin.

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

The topic ‘Settings Break `wp_login_form()`’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [wp_login_form](https://wordpress.org/support/topic-tag/wp_login_form/)

 * 8 replies
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/settings-break-wp_login_form/#post-7720693)
 * Status: resolved