mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
hardened configuration
- moved env rewrite + dotenv code to single location - fixed bug with system flag on user
This commit is contained in:
@@ -156,6 +156,10 @@ async function searchUsers() {
|
||||
throw errors[0];
|
||||
}
|
||||
|
||||
if (data.users === null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return data.users.nodes.map((user) => {
|
||||
const emails = user.profiles
|
||||
.filter(({provider}) => provider === 'local')
|
||||
|
||||
Reference in New Issue
Block a user