mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
feature #967: Fix token generation
This commit is contained in:
parent
244afde3f9
commit
0931fdaa25
@ -84,7 +84,7 @@ class CloudAuth
|
||||
# ussername:: _String_ Name of the User
|
||||
# [return] _Client_
|
||||
def client(username=nil)
|
||||
@server_auth.login_token(expiration_time,username)
|
||||
token = @server_auth.login_token(expiration_time,username)
|
||||
|
||||
Client.new(token,@conf[:one_xmlrpc])
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user