summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/user.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-06-22 09:59:33 +0000
committerJan Cholasta <jcholast@redhat.com>2015-07-01 13:05:30 +0000
commitfe2accf77663693628835d7063da7d871b1ad268 (patch)
tree95a5aaf3254edd12e305d2a1548f7c0a80ca72d2 /ipalib/plugins/user.py
parentf87ba5ee080ebf24d2420d105aa4026e844439db (diff)
downloadfreeipa-fe2accf77663693628835d7063da7d871b1ad268.tar.gz
freeipa-fe2accf77663693628835d7063da7d871b1ad268.tar.xz
freeipa-fe2accf77663693628835d7063da7d871b1ad268.zip
ipalib: Load ipaserver plugins when api.env.in_server is True
https://fedorahosted.org/freeipa/ticket/3090 https://fedorahosted.org/freeipa/ticket/5073 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r--ipalib/plugins/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 0b90519b2..96de65ac5 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -44,7 +44,7 @@ from ipapython.ipavalidate import Email
from ipalib.capabilities import client_has_capability
from ipalib.util import (normalize_sshpubkey, validate_sshpubkey,
convert_sshpubkey_post)
-if api.env.in_server and api.env.context in ['lite', 'server']:
+if api.env.in_server:
from ipaserver.plugins.ldap2 import ldap2
__doc__ = _("""