Phauxth v2.3.2 Phauxth.Confirm View Source

Module to provide user confirmation for new users.

Options

There are four main options:

  • :user_context - the user_context module

    • this can also be set in the config
  • :token_module - the token module

    • this can also be set in the config
  • :log_meta - additional custom metadata for Phauxth.Log

    • this should be a keyword list
  • :max_age - the maximum age for the token

    • the default is 720 seconds - 20 minutes

The options keyword list is also passed to the token verify function. See the documentation for Phauxth.Token for information about defining and setting the token module.