Salt and hash passwords

This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2019-03-27 02:17:48 -07:00
1 parent 88ad9451e2
commit d5b194b9e8
13 files changed
+410 -83

No files matched your search

+1 -1
View File
@@ -954,7 +954,7 @@ export function getPermissions(
export function getUsers(
callback: (
err?: Error,
users?: { _id: string; password: string; roles: string }[]
users?: { _id: string; password: string; salt: string; roles: string }[]
) => void
): void {
usersCollection.find().toArray(callback);