Problem/Motivation
There is a setting to configure the login page but in the code the hard coded user/login path is used instead. Further after a user sets a custom page that might contain a login block in the settings the path is converted to the the node e.g. entering /login on save is converted to /node/123, which itself causes an issue only later in the check for ignoring the login page that should further check also the alias and not only the path.
Steps to reproduce
Proposed resolution
Use the config setting instead of a hard coded value.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3564771-4.patch | 942 bytes | hchonov |
Issue fork anonymous_login-3564771
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:
- 3564771-hard-coded-login-path
changes, plain diff MR !24
- 3564771-hard-coded-login
compare
Comments
Comment #4
hchonovSomething with the remote branch does not work out and I cannot check it out, therefore I am uploading a patch file. The change is pretty straight forward, so I feel safe to for RTBC directly and save some time.
Comment #7
anton4uk commentedThanks @hchonov. The reported problem is fixed by #3607104. The hard-coded fallback change isn't needed. I've added a regression test.
Comment #9
anton4uk commented