Flask-Middleware / flask-security

Quick and simple security for Flask applications
MIT License
622 stars 154 forks source link

Allow email validation errors to be returned even when GENERIC_RESPON… #961

Closed jwag956 closed 3 months ago

jwag956 commented 3 months ago

…SES is set to True.

We need to be careful not to expose whether an account already exists - but syntax or other errors should be returned. This enables custom implementations of MailUtil to enforce their own conventions and return useful results to callers.

closes #942

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 98.40%. Comparing base (fe1628a) to head (fffcdab).

Files Patch % Lines
flask_security/forms.py 60.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #961 +/- ## ========================================== - Coverage 98.47% 98.40% -0.07% ========================================== Files 35 35 Lines 4513 4527 +14 ========================================== + Hits 4444 4455 +11 - Misses 69 72 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.