Skip to content

Commit f008de0

Browse files
authored
Update README.md
1 parent a49eb8c commit f008de0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Email to aaron@email.com:
3030
Return Stage
3131

3232
```bash
33-
curl -X POST -d "token=815381" localhost:8000/callback/auth/
33+
curl -X POST -d "email=aaron@example.com&token=815381" localhost:8000/callback/auth/
3434

3535
> HTTP/1.0 200 OK
3636
> {"token":"76be2d9ecfaf5fa4226d722bzdd8a4fff207ed0e”}
@@ -145,8 +145,7 @@ PASSWORDLESS_AUTH = {
145145
}
146146
```
147147
148-
You’ll also need to set up an SMTP server to send emails (`See Django
149-
Docs <https://docs.djangoproject.com/en/1.10/topics/email/>`__), but for
148+
You’ll also need to set up an SMTP server to send emails but for
150149
development you can set up a dummy development smtp server to test
151150
emails. Sent emails will print to the console. `Read more
152151
here. <https://docs.djangoproject.com/en/3.0/topics/email/#console-backend>`__
@@ -232,10 +231,10 @@ DEFAULTS = {
232231
'PASSWORDLESS_AUTH_TYPES': ['EMAIL'],
233232
234233
# URL Prefix for Authentication Endpoints
235-
'PASSWORDLESS_AUTH_PREFIX': 'auth',
234+
'PASSWORDLESS_AUTH_PREFIX': 'auth/',
236235
237236
# URL Prefix for Verification Endpoints
238-
'PASSWORDLESS_VERIFY_PREFIX': 'auth',
237+
'PASSWORDLESS_VERIFY_PREFIX': 'auth/verify/',
239238
240239
# Amount of time that tokens last, in seconds
241240
'PASSWORDLESS_TOKEN_EXPIRE_TIME': 15 * 60,

0 commit comments

Comments
 (0)