mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-10 22:54:55 -05:00
This prevents an issue where registration_ip is not set on the account object causing downstream code to break. This happened because the app would crash for whatever reason between committing in register() and adding the IP and committing again in ApiController:_handle_register.