Closed (fixed)
Project:
Domain
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2012 at 19:56 UTC
Updated:
15 Jan 2013 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardInitial patch. Creates a new hook and implements it to allow user login.
Needs tests.
Comment #2
agentrickardThe proper test here is:
a) Does the hook fire for the domain_test module?
b) Does the hook return FALSE on 'node'?
c) Does the hook return TRUE on 'user/login'?
d) If a user logs in on an invalid domain, and has a role that allows the user to access inactive domains, is the user _not_ redirected on login.
This tests fine in the browser, but needs automation.
Comment #3
agentrickardAnd a patch with those nice tests.
Comment #4
agentrickardCommitted.