diff --git a/src/Auth.php b/src/Auth.php index d8afa2b..e4153f9 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -155,6 +155,9 @@ protected static function get_signed_token( $user, $cap_check = true ) { 'data' => [ 'user' => [ 'id' => $user->data->ID, + 'displayName' => $user->data->display_name, + 'login' => $user->data->user_login, + 'niceName' => $user->data->user_nicename, ], ], ];