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