Drupal 6
http://drupal.org/sandbox/iwhitcomb/1350766
git clone --branch 6.x-1.x-dev iwhitcomb@git.drupal.org:sandbox/iwhitcomb/1350766.git domain_login
domain_login alters the standard Drupal login form to allow users to specify a subdomain which they want to login to. There may be cases when a site admin may only want to allow users to login to a specific domain from the main site rather than ALL at once(as with the $cookie_domain variable in settings.php), or requiring the user to visit the subdomain before logging in. This provides a means for allowing users to login to whatever domain they specify from the main domain(cross-domain login).
The best way to test this is:
-- Setup domain access at http://www.yoursite.com
-- Create a subdomain(http://test.yoursite.com)
-- Activate the domain_login module.
-- Logout and go to the login page on the main domain http://www.yoursite.com/user
-- Now for the domain box, if you insert anything other than "test" it won't allow you to login.
As an admin you can simply place ?admin=admin at the end of any URL with the login form to bypass this module.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | drupalcs-result.txt | 1.4 KB | klausi |
Comments
Comment #1
chakrapani commentedIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Comment #2
iwhitcomb commentedFormatted code according to Drupal coding standards and fixed a bug in the javascript, and added a README.txt. Please review.
Comment #3
jinlong commentedIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Source: http://ventral.org/pareview - PAReview.sh online service
Comment #4
iwhitcomb commentedSorry, updated the git clone branch
git clone --branch 6.x-1.0-dev iwhitcomb@git.drupal.org:sandbox/iwhitcomb/1350766.git domain_login
Comment #5
patrickd commentedIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Source: http://ventral.org/pareview - PAReview.sh online service
Comment #6
patrickd commentedSwitched back to needs review, so in-depth reviews won't be blocked by coding standart issues.
Comment #6.0
patrickd commentedUpdating git clone info
Comment #7
iwhitcomb commentedI'm not sure I'm understanding why the master branch keeps getting check out. I've run through the instructions and placed a README.txt in the master branch denoting that you should be using the major version branches.
Should be the 6.x-1.x-dev branch.
git clone --branch 6.x-1.x-dev iwhitcomb@git.drupal.org:sandbox/iwhitcomb/1350766.git domain_login
Comment #8
klausiReview of the 6.x-1.x-dev branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Go and review some other project applications, so we can get back to yours sooner.
manual review:
Comment #9
iwhitcomb commentedClosing
Comment #9.0
iwhitcomb commentedupdating clone command
Comment #10
avpaderno