Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, if you create a link to masquerade's unswitch path through the menu admin interface, it'll appear to work, but fails when you try to use it. This is because the menu link item that's created doesn't have the alter option set on it, which allows the CSRF token to be added at runtime.
I've created a patch which will set this option when links to the unswitch path are created, which allows them to work as intended.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2235073-1-allow_links_created_in_admin_interface_to_work.patch | 670 bytes | rupertj |
Comments
Comment #1
rupertj CreditAttribution: rupertj commentedAttaching patch
Comment #2
joelpittetI've been using this.
Comment #3
izmeez CreditAttribution: izmeez commentedThis patch looks good RTBC +1
Comment #4
izmeez CreditAttribution: izmeez commentedAdding to #3010095: Masquerade 7.x-1.0 stable release plan