Skip to content

Commit 35e6ef5

Browse files
authored
Merge pull request aaronn#32 from charleshan/patch-2
Add PASSWORDLESS_EMAIL_NOREPLY_ADDRESS example
2 parents c22aa2b + 9786b24 commit 35e6ef5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ Configuring Emails
136136
137137
Specify the email address you’d like to send the callback token from
138138
with the ``PASSWORDLESS_EMAIL_NOREPLY_ADDRESS`` setting.
139+
```python
140+
PASSWORDLESS_AUTH = {
141+
..
142+
'PASSWORDLESS_AUTH_TYPES': ['EMAIL',],
143+
'PASSWORDLESS_EMAIL_NOREPLY_ADDRESS': 'noreply@example.com',
144+
..
145+
}
146+
```
139147
140148
You’ll also need to set up an SMTP server to send emails (`See Django
141149
Docs <https://docs.djangoproject.com/en/1.10/topics/email/>`__), but for

0 commit comments

Comments
 (0)