Add passwordSettings validation (#136)

* add password Settings validation

* fix test failing because of pass validation

---------

Co-authored-by: eglehelms <e.helms@cognigy.com>
This commit is contained in:
EgleH
2023-03-29 08:54:05 -04:00
committed by GitHub
co-authored by eglehelms
parent 39260f0b47
commit 27cb7c471a
4 changed files with 43 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ test('add an admin user', (t) => {
test('user tests', async(t) => {
const app = require('../app');
const password = await generateHashedPassword('abcd1234-');
const password = 'abcde12345-';
try {
let result;