mattberg/wp-json-api-auth

get_currentuserinfo returns lastname as email

Closed this issue · 1 comments

Line 89 in auth.php

"email" => $user->user_lastname,

should be

"email" => $user->user_email,

Thanks for catching that. Updated in latest commit.

6e2f7ca