When users are successfully logged in the redirect does not seem to work if there is no Destination Parameter in the URL, as \Drupal::destination()->get() will return the current URL if the Destination Parameter is empty.

Comments

AaronMcHale created an issue. See original summary.

aaronmchale’s picture

Assigned: aaronmchale » Unassigned
Status: Active » Needs review
StatusFileSize
new2.14 KB

Status: Needs review » Needs work
aaronmchale’s picture

Status: Needs work » Needs review
StatusFileSize
new2.09 KB

The only difference between #2 and #4 is #4 has a new line at the end of the patch file, remember kids always put new lines at the end of your patch files otherwise the CI Server will fail them lol

grahl’s picture

Status: Needs review » Fixed

Thanks for that patch, applied with a minor cosmetic change.

Did not know that Request is available out of the box, neat!

  • grahl committed eef841c on 8.x-1.x authored by AaronMcHale
    Issue #2968791 by AaronMcHale: Improve destination handling on...

Status: Fixed » Closed (fixed)

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

grahl’s picture

Status: Closed (fixed) » Closed (outdated)

Edit on wrong ticket.

grahl’s picture

Status: Closed (outdated) » Fixed

Status: Fixed » Closed (fixed)

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