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();
|
const config = Config.get();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
config.password_reset.requireCaptcha &&
|
config.passwordReset.requireCaptcha &&
|
||||||
config.security.captcha.enabled
|
config.security.captcha.enabled
|
||||||
) {
|
) {
|
||||||
const { sitekey, service } = config.security.captcha;
|
const { sitekey, service } = config.security.captcha;
|
||||||
|
@ -61,6 +61,6 @@ export class ConfigValue {
|
|||||||
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
||||||
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
||||||
email: EmailConfiguration = new EmailConfiguration();
|
email: EmailConfiguration = new EmailConfiguration();
|
||||||
password_reset: PasswordResetConfiguration =
|
passwordReset: PasswordResetConfiguration =
|
||||||
new PasswordResetConfiguration();
|
new PasswordResetConfiguration();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user