auth_cookie_bad_username

auth_cookie_bad_username

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('auth_cookie_bad_username') is found 1 times:

  • /wp-includes/pluggable.php line 761
    			 *     @type string $hmac       The security hash for the cookie.
    			 *     @type string $scheme     The cookie scheme to use.
    			 * }
    			 */
    			do_action( 'auth_cookie_bad_username', $cookie_elements );
    			return false;
    		}
    
    		$pass_frag = substr( $user->user_pass, 8, 4 );
    
    		$key = wp_hash( $username . '|' . $pass_frag . '|' . $expiration . '|' . $token, $scheme );
    

See this hook used in plugins: