diff options
Diffstat (limited to 'server/initializers/installer.ts')
-rw-r--r-- | server/initializers/installer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts index 2b22e16fe..c669606f8 100644 --- a/server/initializers/installer.ts +++ b/server/initializers/installer.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as passwordGenerator from 'password-generator' | 1 | import * as passwordGenerator from 'password-generator' |
2 | import { UserRole } from '../../shared' | 2 | import { UserRole } from '../../shared' |
3 | import { logger } from '../helpers/logger' | 3 | import { logger } from '../helpers/logger' |
4 | import { createApplicationActor, createUserAccountAndChannel } from '../lib/user' | 4 | import { createApplicationActor, createUserAccountAndChannelAndPlaylist } from '../lib/user' |
5 | import { UserModel } from '../models/account/user' | 5 | import { UserModel } from '../models/account/user' |
6 | import { ApplicationModel } from '../models/application/application' | 6 | import { ApplicationModel } from '../models/application/application' |
7 | import { OAuthClientModel } from '../models/oauth/oauth-client' | 7 | import { OAuthClientModel } from '../models/oauth/oauth-client' |
@@ -141,7 +141,7 @@ async function createOAuthAdminIfNotExist () { | |||
141 | } | 141 | } |
142 | const user = new UserModel(userData) | 142 | const user = new UserModel(userData) |
143 | 143 | ||
144 | await createUserAccountAndChannel(user, validatePassword) | 144 | await createUserAccountAndChannelAndPlaylist(user, validatePassword) |
145 | logger.info('Username: ' + username) | 145 | logger.info('Username: ' + username) |
146 | logger.info('User password: ' + password) | 146 | logger.info('User password: ' + password) |
147 | } | 147 | } |