Skip to content

Commit

Permalink
fix: fix Logger deprecations for elixir 1.15 (#343)
Browse files Browse the repository at this point in the history
Use Logger.warning instead of Logger.warn, which is deprecated
  • Loading branch information
ahey authored Jun 23, 2023
1 parent 8d35326 commit c0e258b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`."
)

Expand Down

0 comments on commit c0e258b

Please sign in to comment.