]> BookStack Code Mirror - bookstack/commit
Updated password reset process not to indicate if email exists
authorDan Brown <redacted>
Fri, 10 Apr 2020 12:38:08 +0000 (13:38 +0100)
committerDan Brown <redacted>
Fri, 10 Apr 2020 12:38:08 +0000 (13:38 +0100)
commitba1be9d710fe5d7fc242f2a3a706265b49f83210
treeabb60580d3ac1789c904cad66bf94207d1c2116f
parent053cbbd5b6cd98788ae4f0c56fc220ae6b020736
Updated password reset process not to indicate if email exists

- Intended to prevent enumeration to check if a user exists.
- Updated messages on both the reqest-reset and set-password elements.
- Also updated notification auto-hide to be dynamic based upon the
amount of words within the notification.
- Added tests to cover.

For #2016
app/Http/Controllers/Auth/ForgotPasswordController.php
app/Http/Controllers/Auth/ResetPasswordController.php
resources/js/components/notification.js
resources/lang/en/auth.php
resources/lang/en/passwords.php
tests/Auth/AuthTest.php