diff --git a/user-reset-password-privacy-1521996-33.patch b/user-reset-password-privacy-1521996-35.patch index cbc226f..07e2db6 100644 --- a/user-reset-password-privacy-1521996-33.patch +++ b/user-reset-password-privacy-1521996-35.patch @@ -7,6 +7,20 @@ index fbb0d98..ff3dbc3 100644 password_strength: true langcode: en +password_reset_text: 'Due to privacy concerns, the policy of this web site is not to disclose the existence of registered email addresses. Hence, if you entered a valid email address or username, a password reset link is now being sent to it. If the email address you entered does not exist, you will not get a reset link, and will neither get any confirmation or warning about that here. If you get an email, it should generally arrive within 30 minutes or so, sometimes instantly.' +diff --git a/core/modules/user/config/schema/user.schema.yml b/core/modules/user/config/schema/user.schema.yml +index 1780d0a..50fa7f6 100644 +--- a/core/modules/user/config/schema/user.schema.yml ++++ b/core/modules/user/config/schema/user.schema.yml +@@ -59,6 +59,9 @@ user.settings: + langcode: + type: string + label: 'Default language' ++ password_reset_text: ++ type: string ++ label: 'Default password reset user message' + + user.mail: + type: mapping diff --git a/core/modules/user/src/AccountSettingsForm.php b/core/modules/user/src/AccountSettingsForm.php index 28f9b7b..fcf9b7b 100644 --- a/core/modules/user/src/AccountSettingsForm.php