This commit is contained in:
mike12345567 2020-12-02 13:21:13 +00:00
parent 05d5feb9fd
commit abe3bdabad
2 changed files with 2 additions and 6 deletions

View File

@ -56,9 +56,7 @@
password: string().required( password: string().required(
"Please enter a password for your first user." "Please enter a password for your first user."
), ),
roleId: string().required( roleId: string().required("You need to select a role for your user."),
"You need to select a role for your user."
),
}, },
] ]

View File

@ -1,8 +1,6 @@
const CouchDB = require("../../../db") const CouchDB = require("../../../db")
const supertest = require("supertest") const supertest = require("supertest")
const { const { BUILTIN_ROLE_IDS } = require("../../../utilities/security/roles")
BUILTIN_ROLE_IDS,
} = require("../../../utilities/security/roles")
const { const {
BUILTIN_PERMISSION_NAMES, BUILTIN_PERMISSION_NAMES,
} = require("../../../utilities/security/permissions") } = require("../../../utilities/security/permissions")