mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-31 19:50:55 +00:00
commit
634c3c6e3e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def is_authenticated(user, password):
|
||||||
"The PAM user belongs to the required group (%s)" %
|
"The PAM user belongs to the required group (%s)" %
|
||||||
GROUP_MEMBERSHIP)
|
GROUP_MEMBERSHIP)
|
||||||
# Check the password
|
# Check the password
|
||||||
if pam_authenticate(user, password):
|
if pam_authenticate(user, password, service='radicale'):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
log.LOGGER.debug("Wrong PAM password")
|
log.LOGGER.debug("Wrong PAM password")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue