@@ -18,10 +18,19 @@ Django Mail Auth features:
18
18
- drop in Django User replacement
19
19
- extendable SMS support
20
20
21
- This project was originally inspired by ` Is it time for password-less login? `__ by ` Ben Brown `_.
21
+ This project was inspired by:
22
22
23
- __ http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login
23
+ - `Is it time for password-less login? `_ by `Ben Brown `_
24
+ - `LOGIN WITHOUT PASSWORD MOST SECURE | WAIT.. WHAT? `_ by `Joris Snoek `_
25
+ - `django-nopassword `_ by `Rolf Erik Lekang `_
26
+
27
+
28
+ .. _`Rolf Erik Lekang` : http://rolflekang.com
29
+ .. _`django-nopassword` : https://github.com/relekang/django-nopassword
30
+ .. _`Is it time for password-less login?` : http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login
31
+ .. _`LOGIN WITHOUT PASSWORD MOST SECURE | WAIT.. WHAT?` : https://www.lucius.digital/en/blog/login-without-password-most-secure-wait-what
24
32
.. _`Ben Brown` : http://twitter.com/benbrown
33
+ .. _`Joris Snoek` : https://twitter.com/lucius_digital
25
34
26
35
Installation
27
36
------------
@@ -41,7 +50,7 @@ First add `mailauth` to you installed apps::
41
50
42
51
'mailauth',
43
52
'mailauth.contrib.admin', # optional
44
- 'mailauth.contrib.auth ', # optional
53
+ 'mailauth.contrib.user ', # optional
45
54
46
55
# other apps…
47
56
]
@@ -58,7 +67,8 @@ Next you will need to add the new authentication backend::
58
67
59
68
AUTHENTICATION_BACKENDS = (
60
69
# default, but now optional
61
- # This should be removed if
70
+ # This should be removed if you use mailauth.contrib.user or any other
71
+ # custom user model that does not have a username/password
62
72
'django.contrib.auth.backends.ModelBackend',
63
73
64
74
# The new access token based authentication backend
0 commit comments