The destination URL (/user) should be fetched from user.page route.

Comments

Chi created an issue. See original summary.

chi’s picture

Status: Active » Needs review
StatusFileSize
new781 bytes
msuthars’s picture

Assigned: Unassigned » msuthars
msuthars’s picture

StatusFileSize
new198.68 KB
new155.01 KB
new195.49 KB
new153.5 KB

@Chi Thanks for the patch. I run the PHPUnit test for it & it is working as expected for me with Drupal core 8.9.x. PHPUnit test before/after screen-shots are attached.

msuthars’s picture

Status: Needs review » Reviewed & tested by the community
msuthars’s picture

Assigned: msuthars » Unassigned

  • catch committed 576652b on 9.1.x
    Issue #3124769 by Chi, msuthars: Fix hardcoded destination in...

  • catch committed 859df06 on 9.0.x
    Issue #3124769 by Chi, msuthars: Fix hardcoded destination in...

  • catch committed d71705f on 8.9.x
    Issue #3124769 by Chi, msuthars: Fix hardcoded destination in...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 576652b and pushed to 9.1.x, cherry-picked back to 8.9.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.