• Aaron Wells's avatar
    Whitelist the $user properties sent to email_user() (Bug 1488697) · 12aa21ec
    Aaron Wells authored
    The old code passes every value from the form into email_user(), which
    has wound up causing problems because email_user() thinks $user->id
    refers to the user's ID, but in our case id refers to the usr_registration
    record. (There is no user created yet at this point)
    
    behatnotneeded: No infrastructure to test email yet
    
    Change-Id: I0d862c2d1b2fdba5d5a1dc0068ce594207ecace9
    (cherry picked from commit 91cc873f)
    12aa21ec
actionregistration.php 6.17 KB