You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# v3.7.8
2
+
## 04/16/2024
3
+
4
+
1.[](#improved)
5
+
* Use `random_bytes()` for password reset and activation, only fallback to `mt_rand()` if there's a generation error
6
+
* Added a new `site_host` field in the "Security" section to use in password reset and activation links sent in email. This allows you to avoid any "Password Reset Poisoning" attacks.
7
+
* Added a new warning in reset and activation emails that shows the "site host" clearly in order to avoid any nefariously sent emails.
parent_acl: false # Look to parent `access` rules for access requirements
175
175
protect_protected_page_media: false # Take `access` rules into account when directly accessing a page's media
176
176
177
+
site_host: # Optionally used in password reset and activation emails, to avoid "password poisoning attacks", this should be the URL of your site including the protocol. e.g. https://foo.com
timeout: 604800# Timeout in seconds. Defaults to 1 week
@@ -427,6 +429,10 @@ user_registration:
427
429
send_welcome_email: false # Send a welcome email to the user (probably should not be used with `send_activation_email`
428
430
```
429
431
432
+
## Email Security Considerations
433
+
434
+
For increased security and to deter users from being tricked into resetting their passwords or activating their accounts on 'fake' sites utilizing a [Password Poisoning Attack](https://portswigger.net/web-security/host-header/exploiting/password-reset-poisoning), you can now set the `site_host` property in the "Security" tab of the login properties, (e.g. `https://foo.com`) to ensure the users are sent to the original site only.
435
+
430
436
## Sending an activation email
431
437
432
438
By default the registration process adds a new user, and sets it as enabled.
FAILED_TO_SEND_EMAILS: "Failed to send emails to: %s"
159
+
FAILED_TO_SEND_EMAILS: "Failed to send emails to: %s"
160
+
HOST_WARNING: '<div style="background-color: #FFEDAD; color: #725F1C; border: 1px solid #FFD74E; padding: 10px; margin: 10px 0; border-radius: 5px;">NOTE: If you did not initiate this email or you don''t recognize the originating site: <strong>"%s"</strong> please ignore or delete this email.</div>'
161
+
SITE_HOST: "Site Host"
162
+
SITE_HOST_HELP: "For extra security, force this URL to be used in all password reset and activation emails. Leave empty to use the default site URL"
0 commit comments