admin管理员组文章数量:1122846
I have been looking for an answer for a few days digging through hooks and actions.
I just cane seem to find a way to turn down the strength on the reset password page not sure if its through woo-commerce or WP
I have tried the following
add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
function reduce_woocommerce_min_strength_requirement( $strength ) {
return 2;
}
add_filter( 'wc_password_strength_meter_params', 'reduce_strength_meter_settings' );
function reduce_strength_meter_settings( $data ) {
return array_merge( $data, array(
'min_password_strength' => 2,
'i18n_password_hint' => 'Change Hint here'
) );
}
I have been looking for an answer for a few days digging through hooks and actions.
I just cane seem to find a way to turn down the strength on the reset password page not sure if its through woo-commerce or WP
I have tried the following
add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
function reduce_woocommerce_min_strength_requirement( $strength ) {
return 2;
}
add_filter( 'wc_password_strength_meter_params', 'reduce_strength_meter_settings' );
function reduce_strength_meter_settings( $data ) {
return array_merge( $data, array(
'min_password_strength' => 2,
'i18n_password_hint' => 'Change Hint here'
) );
}
Share
Improve this question
asked Feb 6, 2018 at 23:17
Daniel longDaniel long
1
1
- I have come to find that the site is using a plugin called Theme My Login (TML or tml) and thats were the forgot password stuff is coming from – Daniel long Commented Feb 8, 2018 at 19:10
1 Answer
Reset to default 1You'll find a discussion of how the password strength is computed here: How is password strength calculated? .
As an aside, there is some discussion (one is here: https://nakedsecurity.sophos.com/2015/03/02/why-you-cant-trust-password-strength-meters/ ) that password strength 'analyzers' don't really result in strong passwords.
本文标签: plugin developmentWordPress Reset password Strength set to medium
版权声明:本文标题:plugin development - WordPress Reset password Strength set to medium 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736290187a1928460.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论