I enabled the "User login" block that comes standard with Drupal.
When I login in using this block on the main domain, it works.
When I login in using this block on a subdomain, the login fails and it redirects to the main domain.

Any ideas on how to get it to work on the subdomains?

Comments

agentrickard’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Not with the information provided. The redirect suggests that your subdomain might not be configured properly at the server level.

Do you have any other modules that alter login behavior?

Are you setting $base_url?

beyond67’s picture

No other login modules. $base_url is not set.
When I login from the /user page from any domain it works fine. Its just when using the user login block when i run into problems.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)