Merge branch 'develop' into phillip/autocomplete-username

This commit is contained in:
Phillip Thelen
2018-11-28 14:02:35 +01:00
committed by GitHub
9 changed files with 6613 additions and 6419 deletions
+3 -1
View File
@@ -245,7 +245,9 @@ describe('Password Utilities', () => {
it('returns false if the user has no local auth', async () => {
let user = await generateUser({
auth: 'not an object with valid fields',
auth: {
facebook: {},
},
});
let res = await validatePasswordResetCodeAndFindUser(encrypt(JSON.stringify({
userId: user._id,