• Drew Blessing's avatar
    Properly handle failed reCAPTCHA on user registration · ca1c492b
    Drew Blessing authored
    If a user presses the 'Register' button too quickly after attempting
    to solve the reCAPTCHA, or the reCAPTCHA is not solved at all, the
    user would experience a 500 error. Now, the case is properly
    handled and the user will be sent back to the registration page
    with a clear error message and can try again.
    ca1c492b
registrations_controller_spec.rb 2.15 KB