From c0e258b5574d735d3ecca2be7e1f336e6d92b74b Mon Sep 17 00:00:00 2001 From: Alan Heywood Date: Fri, 23 Jun 2023 13:11:39 +1000 Subject: [PATCH] fix: fix Logger deprecations for elixir 1.15 (#343) Use Logger.warning instead of Logger.warn, which is deprecated --- .../strategies/password/password_validation.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash_authentication/strategies/password/password_validation.ex b/lib/ash_authentication/strategies/password/password_validation.ex index 680916cb..4aac19e4 100644 --- a/lib/ash_authentication/strategies/password/password_validation.ex +++ b/lib/ash_authentication/strategies/password/password_validation.ex @@ -83,7 +83,7 @@ defmodule AshAuthentication.Strategy.Password.PasswordValidation do with :error <- Keyword.fetch(options, :strategy_name), :error <- Map.fetch(changeset.context, :strategy_name), :error <- Info.strategy_for_action(changeset.resource, changeset.action) do - Logger.warn( + Logger.warning( "[PasswordValidation] Unable to identify the strategy_name for `#{inspect(changeset.action)}` on `#{inspect(changeset.resource)}`." )