addict v0.3.0 Addict.Interactors.GetUserByEmail

Summary

Functions

Gets user by e-mail. Returns {:ok, user} or {:error, [authentication: "Incorrect e-mail/password"]}

Functions

call(email, schema \\ Addict.Configs.user_schema(), repo \\ Addict.Configs.repo())

Gets user by e-mail. Returns {:ok, user} or {:error, [authentication: "Incorrect e-mail/password"]}