Merge #2265
2265: Prevent an exception from being thrown if the username isn't an email address r=mergify[bot] a=nextgens ## What type of PR? enhancement ## What does this PR do? Mailu expects users to identify using an email address; some brute-force script don't send just an username and this leads to an exception... that makes the error message and return code vary. This PR prevents the exceptions from being thrown in the first place ``` WARNING in nginx: Invalid user 'xxxx': (builtins.ValueError) invalid email address (no "`@")"` ``` ### Related issue(s) - closes #2261 - closes #1750 Co-authored-by: Florent Daigniere <nextgens@freenetproject.org> Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>master
commit
fe7397bedf
Loading…
Reference in New Issue