Skip to content

authConfigStrings

const authConfigStrings: object

Type declaration

configComplete

configComplete: string = 'StudioCMS Username and Password Authentication Setup Complete!'

configSetup

configSetup: string = 'Setting up StudioCMS Username and Password Authentication...'

eRC

eRC: object

eRC.part1

part1: string = 'Error reading studiocms-auth.config.json: '

eRC.part2

part2: string = ', Generating new salt...'

newConfig

newConfig: string = 'New studiocms-auth.config.json generated with salt: '

newSalt

newSalt: string = 'Writing new studiocms-auth.config.json with new salt...'

readConfig

readConfig: string = 'Trying to read studiocms-auth.config.json...'

saltMissing

saltMissing: string = "studiocms-auth.config.json is missing the required 'salt' field"

writeFileError

writeFileError: string = 'Error writing new studiocms-auth.config.json: '

Defined in

packages/studiocms_core/src/strings.ts:191