Commit 9191aec
committed
bug #646 redirect to check email route on failure (jrushlow)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
redirect to check email route on failure
default to failing silently on a reset password request in the `ResetPasswordController`. This will prevent the actual cause of the failure (user throttle limit, unknown user, etc..) from being displayed. We also redirect to the check email route by default.
The user has the option to reveal the cause of the failure via a flash or, preferably, implementing a logging solution to store the error message.
Commits
-------
e2161b9 redirect to check email route on failureFile tree
1 file changed
+9
-5
lines changed- src/Resources/skeleton/resetPassword
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
154 | 158 | | |
155 | | - | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments