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