Permalink
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 858 Bytes

Configuring password resets

Cog uses email for its password reset process. To enable Cog to send emails you will need to configure SMTP. Like most things in Cog, SMTP is configured via environment variables. See :doc:`SMTP configuration<../references/cog_server_configuration>` for information on which vars to set.

Additionally you must provide who the password reset request email is from. This would most likely be something like "\support@mydoman.com" or "\no_reply@mydomain.com". This is done with the :doc:`COG_EMAIL_FROM<../references/cog_server_configuration>` var.

Optionally, if you are providing a custom form for password resets you can set the :doc:`COG_PASSWORD_RESET_BASE<../references/cog_server_configuration>`. It should be noted that this is for advanced users wanting to provide custom UI to their users.