AdminAPI: return user email
This commit is contained in:
parent
5e128a6be3
commit
20af025c65
@ -69,6 +69,7 @@ defmodule Pleroma.Web.AdminAPI.AccountView do
|
||||
|
||||
%{
|
||||
"id" => user.id,
|
||||
"email" => user.email,
|
||||
"avatar" => avatar,
|
||||
"nickname" => user.nickname,
|
||||
"display_name" => display_name,
|
||||
|
@ -953,6 +953,7 @@ defmodule Pleroma.Web.AdminAPI.UserControllerTest do
|
||||
%{
|
||||
"deactivated" => user.deactivated,
|
||||
"id" => user.id,
|
||||
"email" => user.email,
|
||||
"nickname" => user.nickname,
|
||||
"roles" => %{"admin" => false, "moderator" => false},
|
||||
"local" => user.local,
|
||||
|
Loading…
Reference in New Issue
Block a user