@@ -112,7 +112,7 @@ import github, { githubId } from '@hcengineering/github'
112
112
import { uiId } from '@hcengineering/ui/src/plugin'
113
113
import { preferenceId } from '@hcengineering/preference'
114
114
115
- function configureI18n ( ) : void {
115
+ function configureI18n ( ) : void {
116
116
// Add localization
117
117
addStringsLoader ( platformId , async ( lang : string ) => await import ( `@hcengineering/platform/lang/${ lang } .json` ) )
118
118
addStringsLoader ( coreId , async ( lang : string ) => await import ( `@hcengineering/core/lang/${ lang } .json` ) )
@@ -187,7 +187,7 @@ function configureI18n (): void {
187
187
addStringsLoader ( analyticsCollectorId , async ( lang : string ) => await import ( `@hcengineering/analytics-collector-assets/lang/${ lang } .json` ) )
188
188
}
189
189
190
- export async function configurePlatform ( ) : Promise < void > {
190
+ export async function configurePlatform ( ) : Promise < void > {
191
191
configureI18n ( )
192
192
193
193
const ipcMain = ( window as any ) . electron as IPCMainExposed
@@ -202,6 +202,7 @@ export async function configurePlatform (): Promise<void> {
202
202
203
203
setMetadata ( login . metadata . AccountsUrl , config . ACCOUNTS_URL )
204
204
setMetadata ( login . metadata . DisableSignUp , config . DISABLE_SIGNUP === 'true' )
205
+ setMetadata ( login . metadata . LoginPasswordOnly , config . LOGIN_PASSWORD_ONLY === 'true' )
205
206
setMetadata ( presentation . metadata . UploadURL , config . UPLOAD_URL )
206
207
setMetadata ( presentation . metadata . FilesURL , config . FILES_URL )
207
208
setMetadata ( presentation . metadata . CollaboratorUrl , config . COLLABORATOR_URL )
0 commit comments