• Dan Jensen's avatar
    Remove callbacks on secondary emails · ecc5b466
    Dan Jensen authored
    The 3 User "secondary emails each have default behavior. Previously
    this behavior was managed through a complex set of model callbacks that
    required workarounds to have the correct behavior. That complexity
    fostered multiple security issues. We have refactored the default
    behavior to exist only in custom getter methods, so there is no more
    need to use callbacks to manipulate the database values. This removes
    the callbacks, because they no longer have any effect.
    ecc5b466
user_spec.rb 194 KB