wphooks.info - auth_cookie_bad_session_token

auth_cookie_bad_session_token

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-includes/pluggable.php:
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
			 * @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;
		}

		/**