Compare commits
1 Commits
AUT-985
...
custom-see
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7dee26c16d |
@@ -18,8 +18,8 @@ async function fetchAdminRole() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function createUser(
|
export async function createUser(
|
||||||
email = 'user@automatisch.io',
|
email = appConfig.seedUserEmail,
|
||||||
password = 'sample'
|
password = appConfig.seedUserPassword
|
||||||
) {
|
) {
|
||||||
const UNIQUE_VIOLATION_CODE = '23505';
|
const UNIQUE_VIOLATION_CODE = '23505';
|
||||||
|
|
||||||
|
@@ -94,6 +94,8 @@ const appConfig = {
|
|||||||
disableFavicon: process.env.DISABLE_FAVICON === 'true',
|
disableFavicon: process.env.DISABLE_FAVICON === 'true',
|
||||||
additionalDrawerLink: process.env.ADDITIONAL_DRAWER_LINK,
|
additionalDrawerLink: process.env.ADDITIONAL_DRAWER_LINK,
|
||||||
additionalDrawerLinkText: process.env.ADDITIONAL_DRAWER_LINK_TEXT,
|
additionalDrawerLinkText: process.env.ADDITIONAL_DRAWER_LINK_TEXT,
|
||||||
|
seedUserEmail: process.env.SEED_USER_EMAIL || 'user@automatisch.io',
|
||||||
|
seedUserPassword: process.env.SEED_USER_PASSWORD || 'sample',
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!appConfig.encryptionKey) {
|
if (!appConfig.encryptionKey) {
|
||||||
|
Reference in New Issue
Block a user