diff --git a/src/Auth.php b/src/Auth.php index 0103f22..4e8cacb 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -584,8 +584,6 @@ public static function validate_token( $token = null, $refresh = false ) { */ JWT::$leeway = 60; - codecept_debug( [ 'tokenYo' => $token ] ); - try { $token = ! empty( $token ) ? JWT::decode( $token, new Key( self::get_secret_key(), 'HS256') ) : null; } catch ( Exception $exception ) { diff --git a/wp-graphql-jwt-authentication.php b/wp-graphql-jwt-authentication.php index 08f0dfa..0e27c6c 100644 --- a/wp-graphql-jwt-authentication.php +++ b/wp-graphql-jwt-authentication.php @@ -7,7 +7,7 @@ * Author URI: https://www.wpgraphql.com * Text Domain: wp-graphql-jwt-authentication-jwt-authentication * Domain Path: /languages - * Version: 0.5.1 + * Version: 0.5.2 * Requires at least: 4.7.0 * Tested up to: 4.8.3 * Requires PHP: 5.5 @@ -113,7 +113,7 @@ public function __wakeup() { private function setup_constants() { // Plugin version. if ( ! defined( 'WPGRAPHQL_JWT_AUTHENTICATION_VERSION' ) ) { - define( 'WPGRAPHQL_JWT_AUTHENTICATION_VERSION', '0.5.1' ); + define( 'WPGRAPHQL_JWT_AUTHENTICATION_VERSION', '0.5.2' ); } // Plugin Folder Path.