hardened configuration

- moved env rewrite + dotenv code to single location
- fixed bug with system flag on user
This commit is contained in:
Wyatt Johnson
2018-01-05 16:06:36 -07:00
parent 6260339508
commit c07ec23a20
18 changed files with 70 additions and 52 deletions
+4
View File
@@ -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')