Skip to content

Commit e3692a9

Browse files
authored
Update src/Auth.php
1 parent 9ca4c6f commit e3692a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public static function is_refresh_token() {
353353
*/
354354
protected static function authenticate_user( $username, $password ) {
355355

356-
if (defined( 'GRAPHQL_JWT_AUTH_SET_COOKIES' ) && ! empty( GRAPHQL_JWT_AUTH_SET_COOKIES ) && GRAPHQL_JWT_AUTH_SET_COOKIES) {
356+
if ( defined( 'GRAPHQL_JWT_AUTH_SET_COOKIES' ) && ! empty( GRAPHQL_JWT_AUTH_SET_COOKIES ) && GRAPHQL_JWT_AUTH_SET_COOKIES ) {
357357
$credentials = [
358358
'user_login' => sanitize_user( $username ),
359359
'user_password' => trim( $password ),

0 commit comments

Comments
 (0)