Project

General

Profile

Defect #13741 ยป do_not_redirect_to_lost_password_page.diff

Patch to ignore redirect to lost_password again after successful password change (r15775 or higher) - Gregory Van der Steen, 2016-12-07 10:15

View differences:

app/controllers/application_controller.rb
434 434
      return false
435 435
    end
436 436

  
437
    if path.match(%r{/(login|account/register)})
437
    if path.match(%r{/(login|account/register|account/lost_password)})
438 438
      return false
439 439
    end
440 440

  
    (1-1/1)