diff --git a/lib/mix/tasks/phx.gen.auth/hashing_library.ex b/lib/mix/tasks/phx.gen.auth/hashing_library.ex index a922eabe40..cd1d2b7c72 100644 --- a/lib/mix/tasks/phx.gen.auth/hashing_library.ex +++ b/lib/mix/tasks/phx.gen.auth/hashing_library.ex @@ -3,6 +3,13 @@ defmodule Mix.Tasks.Phx.Gen.Auth.HashingLibrary do defstruct [:name, :module, :mix_dependency, :test_config] + @type t :: %__MODULE__{ + name: atom(), + module: module(), + mix_dependency: binary(), + test_config: binary() + } + def build("bcrypt") do lib = %__MODULE__{ name: :bcrypt,