Fix obfuscated_email method for short addresses
What does this MR do and why?
When using short email addresses like a@b.c
, the obfuscated_email
helper method breaks with NoMethodError: undefined method 'length' for nil:NilClass
. This fixes that bug.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alex Buijs