diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-27 23:09:01 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-07-29 23:07:49 +0200 |
commit | a0e12e6b98616994aca595de7589c003bb68013e (patch) | |
tree | 868dbb68be2fc0e9a220430edc5d691be8ff9611 /pynslcd/pam.py | |
parent | fa97bcc376777f87ee661852ad0a8ed60d002466 (diff) |
Fix handling of pam_password_prohibit_message in pynslcd
Diffstat (limited to 'pynslcd/pam.py')
-rw-r--r-- | pynslcd/pam.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pynslcd/pam.py b/pynslcd/pam.py index 483c8d5..7c01517 100644 --- a/pynslcd/pam.py +++ b/pynslcd/pam.py @@ -278,7 +278,7 @@ class PAMPasswordModificationRequest(PAMRequest): self.validate(parameters) # check if pam_password_prohibit_message is set if cfg.pam_password_prohibit_message: - self.write(parameters, constants.NSLCD_PAM_PERM_DENIED, + self.write(constants.NSLCD_PAM_PERM_DENIED, cfg.pam_password_prohibit_message) return # check if the the user passed the rootpwmoddn |