Rename password_reset config to passwordReset as it messes with config key generation
This commit is contained in:
parent
048459b75f
commit
deb0da524e
@ -19,7 +19,7 @@ router.post(
|
||||
const config = Config.get();
|
||||
|
||||
if (
|
||||
config.password_reset.requireCaptcha &&
|
||||
config.passwordReset.requireCaptcha &&
|
||||
config.security.captcha.enabled
|
||||
) {
|
||||
const { sitekey, service } = config.security.captcha;
|
||||
|
@ -61,6 +61,6 @@ export class ConfigValue {
|
||||
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
||||
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
||||
email: EmailConfiguration = new EmailConfiguration();
|
||||
password_reset: PasswordResetConfiguration =
|
||||
passwordReset: PasswordResetConfiguration =
|
||||
new PasswordResetConfiguration();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user