diff --git a/config.yaml.dist b/config.yaml.dist index 578f404..d675518 100644 --- a/config.yaml.dist +++ b/config.yaml.dist @@ -42,10 +42,10 @@ smtp: port: # example: 25 user: # example: bot pass: # example: groovy123 - # host can be left empty, in which case it is recommended to fill contactEmail. + # host can be left empty, in which case it is recommended to fill contact_email. -contactEmail: # example: bob@example.com. Meant for manual password reset procedures +contact_email: # example: bob@example.com. Meant for manual password reset procedures # used for reverse image search diff --git a/server/szurubooru/api/info_api.py b/server/szurubooru/api/info_api.py index 8f8c9ea..19b2be7 100644 --- a/server/szurubooru/api/info_api.py +++ b/server/szurubooru/api/info_api.py @@ -42,7 +42,7 @@ def get_info( 'tagCategoryNameRegex': config.config['tag_category_name_regex'], 'defaultUserRank': config.config['default_rank'], 'enableSafety': config.config['enable_safety'], - 'contactEmail': config.config['contactEmail'], + 'contactEmail': config.config['contact_email'], 'canSendMails': bool(config.config['smtp']['host']), 'privileges': util.snake_case_to_lower_camel_case_keys(