1
0
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:
Daniel Molina 2012-03-23 19:56:01 +01:00
parent 244afde3f9
commit 0931fdaa25

View File

@ -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