lib/fastly/client.rb in fastly-2.5.2 vs lib/fastly/client.rb in fastly-2.5.3
- old
+ new
@@ -25,9 +25,13 @@
Concurrent::ThreadLocalVar.new { build_http_client }
end
return self unless fully_authed?
+ warn("DEPRECATION WARNING: Username/password authentication is deprecated
+ and will not be available starting September 2020;
+ please migrate to API tokens as soon as possible.")
+
# If full auth creds (user/pass) then log in and set a cookie
resp = http.post(
'/login',
make_params(user: user, password: password),
{'Content-Type' => 'application/x-www-form-urlencoded'}