We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca4c6f commit e3692a9Copy full SHA for e3692a9
src/Auth.php
@@ -353,7 +353,7 @@ public static function is_refresh_token() {
353
*/
354
protected static function authenticate_user( $username, $password ) {
355
356
- if (defined( 'GRAPHQL_JWT_AUTH_SET_COOKIES' ) && ! empty( GRAPHQL_JWT_AUTH_SET_COOKIES ) && GRAPHQL_JWT_AUTH_SET_COOKIES) {
+ if ( defined( 'GRAPHQL_JWT_AUTH_SET_COOKIES' ) && ! empty( GRAPHQL_JWT_AUTH_SET_COOKIES ) && GRAPHQL_JWT_AUTH_SET_COOKIES ) {
357
$credentials = [
358
'user_login' => sanitize_user( $username ),
359
'user_password' => trim( $password ),
0 commit comments