Added more info for the admin account debug creator

This commit is contained in:
Lee 2022-11-14 02:40:47 +00:00
parent f2d207e3bd
commit 3c27a724a0
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

View File

@ -11,7 +11,9 @@ import { createUser, getUser } from "../../../utils/helpers/userHelpers";
const pass = generateRandomPassword();
createUser("admin", pass).then((returned) => {
if (returned === true) {
console.log(`Created admin account. Username: admin, Password: ${pass}`);
console.log(
`Created admin account. Username: admin, Password: ${pass}, uploadKey: ${returned.uploadKey}`
);
}
});