mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
A trivial fix. login_unconditionally needs to be called with
self.login_unconditionally to avoid "global name 'login_unconditionally' is not defined" Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
ea3b5838d8
commit
b496644a2b
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class XendAuthSessions:
|
||||
@return: Session UUID
|
||||
"""
|
||||
if self.is_authorized(username, password):
|
||||
return login_unconditionally(username)
|
||||
return self.login_unconditionally(username)
|
||||
|
||||
raise XendError("Login failed")
|
||||
|
||||
|
||||