"admin.auth.configReferenceSubtitle":"Some strategies may require some configuration values to be set on your provider. These are provided for reference only and may not be needed by the current strategy.",
"admin.auth.displayName":"Display Name",
"admin.auth.displayNameHint":"The title shown to the end user for this authentication strategy.",
"admin.auth.emailValidation":"Email Validation",
"admin.auth.emailValidationHint":"Send a verification email to the user with a validation link when registering.",
"admin.auth.enabled":"Enabled",
"admin.auth.enabledForced":"This strategy cannot be disabled.",
"admin.auth.enabledHint":"Should this strategy be available to sites for login.",
"admin.auth.force2fa":"Force all users to use Two-Factor Authentication (2FA)",
"admin.auth.force2faHint":"Users will be required to setup 2FA the first time they login and cannot be disabled by the user.",
text:`You must open the following link in your browser to verify your account and gain access to the wiki: ${WIKI.config.host}/verify/${verificationToken}`
})
}elseif(sendWelcomeEmail){
// Send welcome email
awaitWIKI.mail.send({
template:'accountWelcome',
...
...
@@ -606,6 +662,10 @@ export class User extends Model {
text:`You've been invited to the wiki ${WIKI.config.title}: ${WIKI.config.host}/login`
})
}
WIKI.logger.debug(`Created new user account for ${email} successfully.`)
returnnewUsr
}
/**
...
...
@@ -681,113 +741,6 @@ export class User extends Model {
text:`You must open the following link in your browser to verify your account and gain access to the wiki: ${WIKI.config.host}/verify/${verificationToken}`