Skip to content

Commit f873555

Browse files
kidunot89jasonbahl
andauthored
Update src/ManageTokens.php
Co-Authored-By: Jason Bahl <[email protected]>
1 parent 7dde421 commit f873555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ManageTokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public static function add_user_fields( $fields, $object, $type_registry ) {
127127
];
128128

129129
$fields['isJwtAuthSecretRevoked'] = [
130-
'type' => Type::nonNull( $type_registry->get_type( 'Boolean' ) ),
130+
'type' => $type_registry->non_null( $type_registry->get_type( 'Boolean' ) ),
131131
'description' => __( 'Whether the JWT User secret has been revoked. If the secret has been revoked, auth tokens will not be issued until an admin, or user with proper capabilities re-issues a secret for the user.', 'wp-graphql-jwt-authentication' ),
132132
'resolve' => function ( User $user ) {
133133
$revoked = Auth::is_jwt_secret_revoked( $user->ID );

0 commit comments

Comments
 (0)