Steps to reproduce the issue
Use "Forgot your password" on frontend of Joomla 4 beta 6
enter a valid syntax email of a non-user Eg : No-Such-Email@example.com
Click Submit
Expected result
"If a user matched that email address then we sent an email to them"
Actual result
"Reset password failed: Invalid email address" because no user matched that email address
System information (as much as possible)
Additional comments
Note that if a user EXISTS with the email address provided then the page redirects to
This code is line for line the same as j3. I haven't tested but struggle to believe this is j4 specific