Explorar o código

Merge pull request #304 from singpolyma/pam-service

Use PAM service
Guillaume Ayoub %!s(int64=10) %!d(string=hai) anos
pai
achega
634c3c6e3e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")