Problem/Motivation
If a module like https://www.drupal.org/project/rename_admin_paths is used to change the path /user. Then Gin Login templates overrides are not taken into account anymore because they are based on the path.
Steps to reproduce
- add the Rename Admin Paths module
- enable "Rename use path".
Proposed resolution
Add template suggestion based on the route name, so it will be valid anytime.
Remaining tasks
Implements solution
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | gin_login-3366432-4.patch | 1.19 KB | grimreaper |
Issue fork gin_login-3366432
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaperComment #4
grimreaperMR created.
Attaching patch for easier Composer usage.
Thanks for the review!
Comment #5
glynster commented@Grimreaper, this patch works a treat and is a very simple and elegant addition! RTBC +1.
Comment #6
grimreaperComment #9
saschaeggiSeems I tried to add the new pipeline config in the wrong branch so it shows up here 😅
Sorry if you got endless notifications. Anyway this has been merged 👏
Thanks @Grimreaper @glynster
Comment #10
grimreaperNo problem.
Thanks for the merge :)
Comment #11
glynster commentedAwesome, love the admin theme and this tiny tweak makes all the diff!