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

CommentFileSizeAuthor
#4 3564771-4.patch942 byteshchonov
Command icon 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

hchonov created an issue. See original summary.

hchonov changed the visibility of the branch 3564771-hard-coded-login to hidden.

hchonov changed the visibility of the branch 3564771-hard-coded-login to hidden.

hchonov’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new942 bytes

Something 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.

anton4uk made their first commit to this issue’s fork.

anton4uk’s picture

Status: Reviewed & tested by the community » Needs review

Thanks @hchonov. The reported problem is fixed by #3607104. The hard-coded fallback change isn't needed. I've added a regression test.

  • anton4uk committed b65db7f3 on 8.x-2.x
    Issue #3564771: Add test coverage for an aliased login page
    
anton4uk’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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