Openmaize v2.3.1 Mix.Tasks.Openmaize.Gen.Phoenixauth

Create modules for authorization and, optionally, email confirmation.

Options

There are three options:

  • confirm - add functions for email confirmation and password resets

    • the default is false
  • html - add html files

    • the default is false

Examples

In the root directory of your project, run the following command:

mix openmaize.gen.phoenixauth