xend: Fix PAM authentication method for some versions of PyPAM.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-05-25 13:02:08 +01:00
1 parent d1252ef838
commit 8eda7551e9
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ class XendAuthSessions:
pam_auth.start("login")
pam_auth.set_item(PAM.PAM_USER, username)
def _pam_conv(auth, query_list, user_data):
def _pam_conv(auth, query_list, user_data = None):
resp = []
for i in range(len(query_list)):
query, qtype = query_list[i]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.