Răsfoiți Sursa

Merge pull request #304 from singpolyma/pam-service

Use PAM service
Guillaume Ayoub 10 ani în urmă
părinte
comite
634c3c6e3e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      radicale/auth/PAM.py

+ 1 - 1
radicale/auth/PAM.py

@@ -81,7 +81,7 @@ def is_authenticated(user, password):
             "The PAM user belongs to the required group (%s)" %
             GROUP_MEMBERSHIP)
         # Check the password
-        if pam_authenticate(user, password):
+        if pam_authenticate(user, password, service='radicale'):
             return True
         else:
             log.LOGGER.debug("Wrong PAM password")