summaryrefslogtreecommitdiffstats
path: root/keystone/identity/backends/pam.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/identity/backends/pam.py')
-rw-r--r--keystone/identity/backends/pam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/identity/backends/pam.py b/keystone/identity/backends/pam.py
index 5cfa5b16..2a6ee621 100644
--- a/keystone/identity/backends/pam.py
+++ b/keystone/identity/backends/pam.py
@@ -58,7 +58,7 @@ class PamIdentity(identity.Driver):
Tenant is always the same as User, root user has admin role.
"""
- def authenticate(self, user_id=None, password=None):
+ def authenticate(self, user_id, password):
auth = pam.authenticate if pam else PAM_authenticate
if not auth(user_id, password):
raise AssertionError('Invalid user / password')