mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Fix incorrect pam service
pam was defaulting to use of 'login', but we want 'confluent' for the service.
This commit is contained in:
parent
c99d01dffc
commit
895b5264f6
@ -269,7 +269,7 @@ def check_user_passphrase(name, passphrase, operation=None, element=None, tenant
|
||||
return authorize(user, element, tenant, operation)
|
||||
if pam:
|
||||
pammy = pam.pam()
|
||||
usergood = pammy.authenticate(user, passphrase)
|
||||
usergood = pammy.authenticate(user, passphrase, service='confluent')
|
||||
del pammy
|
||||
if usergood:
|
||||
_passcache[(user, tenant)] = hashlib.sha256(passphrase).digest()
|
||||
|
Loading…
Reference in New Issue
Block a user