lib/gooddata/connection.rb in gooddata-0.6.0.pre7 vs lib/gooddata/connection.rb in gooddata-0.6.0.pre8

- old
+ new

@@ -72,11 +72,11 @@ def initialize(username, password, options = {}) @status = :not_connected @username = username @password = password @url = options[:server] || DEFAULT_URL - @auth_token = options.delete(:token) + @auth_token = options[:gdc_temporary_token] @options = options @server = create_server_connection(@url, @options) end @@ -308,10 +308,9 @@ 'login' => @username, 'password' => @password, 'remember' => 1 } } - GoodData.logger.debug "Logging in..." @user = post(LOGIN_PATH, credentials, :dont_reauth => true)['userLogin'] refresh_token :dont_reauth => true # avoid infinite loop if refresh_token fails with 401 @status = :logged_in