Title: sll_remove_default_authentication_hook
Last modified: February 20, 2024

---

# sll_remove_default_authentication_hook

 *  [alexwbaumann](https://wordpress.org/support/users/alexwbaumann/)
 * (@alexwbaumann)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/sll_remove_default_authentication_hook/)
 * I am attempting to use sll_remove_default_authentication_hook to override the
   high_security setting to local fallback for REST requests using an application
   password.
 * However, I am not successful because …/simple-ldap-login/Simple-LDAP-Login.php:
   438 is just checking the value of high_security instead of sending it through
   the filter. If the line were changed from
   `} elseif (str_true($this->get_setting('
   high_security')) && !$local_admin) {`to`} elseif (apply_filters('sll_remove_default_authentication_hook',
   str_true($this->get_setting('high_security')) && !$local_admin)){`my issue would
   be resolved.

The topic ‘sll_remove_default_authentication_hook’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-ldap-login_ffffff.svg)
 * [Simple LDAP Login](https://wordpress.org/plugins/simple-ldap-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-ldap-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-ldap-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-ldap-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-ldap-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-ldap-login/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [alexwbaumann](https://wordpress.org/support/users/alexwbaumann/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/sll_remove_default_authentication_hook/)
 * Status: not resolved