Added more info for the admin account debug creator
This commit is contained in:
parent
f2d207e3bd
commit
3c27a724a0
@ -11,7 +11,9 @@ import { createUser, getUser } from "../../../utils/helpers/userHelpers";
|
|||||||
const pass = generateRandomPassword();
|
const pass = generateRandomPassword();
|
||||||
createUser("admin", pass).then((returned) => {
|
createUser("admin", pass).then((returned) => {
|
||||||
if (returned === true) {
|
if (returned === true) {
|
||||||
console.log(`Created admin account. Username: admin, Password: ${pass}`);
|
console.log(
|
||||||
|
`Created admin account. Username: admin, Password: ${pass}, uploadKey: ${returned.uploadKey}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user