Return error object in the API

This commit is contained in:
Girish Ramakrishnan
2019-08-30 11:18:42 -07:00
parent eb963b2eb4
commit c22cdb8d81
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -1282,7 +1282,8 @@ describe('Password', function () {
createdAt: (new Date()).toUTCString(),
modifiedAt: (new Date()).toUTCString(),
resetToken: hat(256),
displayName: ''
displayName: '',
source: ''
};
// make csrf always succeed for testing