-
Notifications
You must be signed in to change notification settings - Fork 21
User confirmation
David Whitlock edited this page Nov 25, 2017
·
5 revisions
This page gives an overview of how to use Phauxth.Confirm to provide user confirmation, using an email address or phone number.
If you have setup your app using mix phauxth.new --confirm
, the basic user confirmation
functionality has been set up using bamboo, with the local adapter, which is ideal for development.
To use a different email adapter, or another email / phone library, read the instructions below.
Bamboo has adapters for Mailgun, Mailjet, Mandrill, Sendgrid, SMTP, SparkPost, PostageApp, Postmark and Sendcloud. See Bamboo for more information.
If you do not want to use Bamboo, follow the instructions below:
- Edit lib/my_app/message.ex file, using the email / phone library of your choice
- Remove the lib/my_app/mailer.ex file
- Remove the Bamboo entries in the config/config.exs and config/test.exs files
- Remove bamboo from the deps section in the mix.exs file