summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/user.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-11-05 17:06:22 +0100
committerMartin Basti <mbasti@redhat.com>2015-11-20 15:32:34 +0100
commitc56d45bc382a6e72c0439452994e998798b22b57 (patch)
treefb8712099ca233a0e696489e58faff6bc587d48e /ipalib/plugins/user.py
parent2d041daf17a4c461489cdd0879056d0cb5eacde5 (diff)
downloadfreeipa-c56d45bc382a6e72c0439452994e998798b22b57.tar.gz
freeipa-c56d45bc382a6e72c0439452994e998798b22b57.tar.xz
freeipa-c56d45bc382a6e72c0439452994e998798b22b57.zip
Move common code of user and stageuser to baseuser postcallback
usser-add and stageuser-add contains common code that can be exported to baseuser common postcallback Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r--ipalib/plugins/user.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 5c3e78b13..81a707035 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -568,9 +568,6 @@ class user_add(baseuser_add):
# if both randompassword and userpassword options were used
pass
- self.obj.get_password_attributes(ldap, dn, entry_attrs)
- convert_sshpubkey_post(ldap, dn, entry_attrs)
- radius_dn2pk(self.api, entry_attrs)
self.obj.get_preserved_attribute(entry_attrs, options)
self.post_common_callback(ldap, dn, entry_attrs, **options)