|
@ -55,6 +55,7 @@ class Home(main.Home): |
|
|
if not login: |
|
|
if not login: |
|
|
_logger.error("Required fields '%s' not found in http headers\n %s", |
|
|
_logger.error("Required fields '%s' not found in http headers\n %s", |
|
|
self._REMOTE_USER_ATTRIBUTE, headers) |
|
|
self._REMOTE_USER_ATTRIBUTE, headers) |
|
|
|
|
|
return None |
|
|
user_ids = res_users.search(cr, SUPERUSER_ID, [('login', '=', login), |
|
|
user_ids = res_users.search(cr, SUPERUSER_ID, [('login', '=', login), |
|
|
('active', '=', True)]) |
|
|
('active', '=', True)]) |
|
|
assert len(user_ids) < 2 |
|
|
assert len(user_ids) < 2 |
|
|