3
我在我的django应用程序中使用了allauth。一旦用户被创建,它会发送一封电子邮件,链接如下http://localhost:8001/account/confirm-email/asdfafsd/
如何更改allauth中的电子邮件验证链接
但是,我想链接为http://localhost:8001/verifyEmail/asdfafsd
,因为我在前端使用了angular。
我想不通在哪里改变这个链接?
我如何编辑电子邮件模板?我无法在代码中的任何位置找到文件"account/email/email_confirmation_message.txt“。 – birdy 2015-02-10 01:00:10
这看起来不像我想要的。 'verifyEmail' URL已经在我的角度应用程序中生成,并且工作得很好。我想要做的就是将发送给用户的电子邮件中的URL更改为相同的'verifyEmail' url,而不是'http:// localhost:8001/account/confirm-email/asdfafsd /' – birdy 2015-02-10 01:52:32
这是我的URL' m试图改变https://github.com/django/django/blob/master/django/contrib/admin/templates/registration/password_reset_email.html#L6 – birdy 2015-02-10 04:01:36