mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Removed password from accounts query. Closes #1153.
This commit is contained in:
parent
4fa3c1a0f6
commit
ca385af8c4
1 changed files with 7 additions and 0 deletions
|
|
@ -315,6 +315,13 @@ export async function getAccounts() {
|
||||||
username: 'asc',
|
username: 'asc',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
select: {
|
||||||
|
user_id: true,
|
||||||
|
username: true,
|
||||||
|
is_admin: true,
|
||||||
|
created_at: true,
|
||||||
|
updated_at: true,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue