wphooks.info - auth_cookie_bad_session_token

auth_cookie_bad_session_token

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/pluggable.php:
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
		 * @since 2.7.0
		 *
		 * @param array $cookie_elements An array of data for the authentication cookie.
		 */
		do_action( 'auth_cookie_bad_hash', $cookie_elements );
		return false;
	}

	$manager = WP_Session_Tokens::get_instance( $user->ID );
	if ( ! $manager->verify( $token ) ) {
		do_action( 'auth_cookie_bad_session_token', $cookie_elements );
		return false;
	}

	// Ajax/POST grace period set above
	if ( $expiration < time() ) {
		$GLOBALS['login_grace_period'] = 1;
	}

	/**