mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 23be44682a)
This commit is contained in:
1 parent
d2f29314b1
commit
4656ef202e
1 file changed
+1
-2
@@ -362,8 +362,7 @@ helpers do
|
||||
logger.info { 'Unauthorized login attempt' }
|
||||
return [401, '']
|
||||
end
|
||||
|
||||
client = $cloud_auth.client(result)
|
||||
client = $cloud_auth.client(result, $conf[:one_xmlrpc])
|
||||
user_id = OpenNebula::User::SELF
|
||||
|
||||
user = OpenNebula::User.new_with_id(user_id, client)
|
||||
|
||||
Reference in new issue
Block a user