[wp-trac] Re: [WordPress Trac] #7344: Retrieve Password Error Action

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 18 18:40:19 GMT 2008


#7344: Retrieve Password Error Action
-------------------------+--------------------------------------------------
 Reporter:  axelseaa     |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.6.1    
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by ryan):

 So you want to disabled password reset if the user is using LDAP? How
 about we add a filter called 'allow_password_reset'?

 {{{
 if ( is_wp_error( $allow = apply_filters('allow_password_reset', true) ) )
    return $allow;
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7344#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list