Pow - Robust, modular, extendable user authentication and management system

You can change the callback routes by creating a routes module (from the readme):

defmodule MyAppWeb.Pow.Routes do
  use Pow.Phoenix.Routes
  alias MyAppWeb.Router.Helpers, as: Routes

  def after_sign_in_path(conn), do: Routes.some_path(conn, :index)
end

Take a look at the different routes here.

Easiest way is to call the changeset method on your user schema module in IEX:

changeset = MyApp.Users.User.changeset(user, %{password: password, confirm_password: password})

MyApp.Repo.update!(changeset)
3 Likes