lib/voipfone_client/session.rb in voipfone_client-0.3.0 vs lib/voipfone_client/session.rb in voipfone_client-0.3.1

- old
+ new

@@ -32,10 +32,10 @@ # logging in each time. # @return [Boolean] true on success or {NotAuthenticatedError} on failure def login username = VoipfoneClient.configuration.username password = VoipfoneClient.configuration.password - cookie_file = File.join(VoipfoneClient::TMP_FOLDER,"cookies") + cookie_file = File.join(VoipfoneClient::TMP_FOLDER,"voipfone_client_cookies.yaml") # load existing cookies from the file on disk if File.exists?(cookie_file) @browser.cookie_jar.load(cookie_file) end \ No newline at end of file