Domain login solves the problem of cross-domain logging in without enabling the $cookie_domain variable by providing an additional domain field on the user login forms for the main site.

Rather than enabling the $cookie_domain variable in your settings.php file thus allowing users to login to every subdomain of a site, Domain Login will force them to specify which subdomain they want to login to by altering Drupals core login form to include an additional "domain" field at the top.

As an admin, you can just add the admin variable to the query string to login to the main site(ie: http://yoursite.com/user?admin).

Installation

  1. Download module and copy domain_login folder to sites/all/modules
  2. Enable Domain Login module.

Requirements

Domain Access

Sponsorship

LevelTen Logo
This module is sponsored and developed by LevelTen Interactive. LevelTen is a full service interactive agency focused on building online brands by integrating digital strategy, Drupal development and internet marketing. Feel free to connect with us on Twitter and Facebook

If you would like to learn how to build smarter marketing websites with Drupal, checkout the Drupal Site Success! ebook

Project information

Releases