FEATURE: notify admins about old credentials (#9918)

* FEATURE: notify admins about old credentials

Security and API keys should be renewed periodically.
This additional notification should help admins keep their Discourse safe and secure.
This commit is contained in:
Krzysztof Kotlarek
2020-06-01 13:49:27 +10:00
committed by GitHub
parent b0b37bf5a3
commit 9a6ef80739
4 changed files with 157 additions and 0 deletions

View File

@@ -1582,6 +1582,7 @@ en:
moderators_view_emails: "Allow moderators to view user emails"
prioritize_username_in_ux: "Show username first on user page, user card and posts (when disabled name is shown first)"
enable_rich_text_paste: "Enable automatic HTML to Markdown conversion when pasting text into the composer. (Experimental)"
send_old_credential_reminder_days: "Remind about old credentials after days"
email_token_valid_hours: "Forgot password / activate account tokens are valid for (n) hours."
@@ -4820,3 +4821,14 @@ en:
discord:
not_in_allowed_guild: "Authentication failed. You are not a member of a permitted Discord guild."
old_keys_reminder:
title: "Reminder about old credentials"
body: |
Hello! This is a routine yearly security reminder from your Discourse instance.
As a courtesy, we wanted to let you know that the following credentials used on your Discourse instance have not been updated in more than two years:
%{keys}
No action is required at this time, however, it is considered good security practice to cycle all your important credentials every few years.