Update README.md

This commit is contained in:
Mohamed El-Kalioby
2019-01-18 16:00:30 +03:00
committed by GitHub
parent e60928a457
commit 3dc78d96fa

View File

@@ -67,9 +67,11 @@ Depends on
1. Add mfa to urls.py 1. Add mfa to urls.py
```python ```python
import mfa import mfa
import mfa.TrustedDevice
urls_patterns= [ urls_patterns= [
'...', '...',
url(r'^mfa/', include(mfa.urls)), url(r'^mfa/', include(mfa.urls)),
url(r'devices/add$', mfa.TrustedDevice.add,name="mfa_add_new_trusted_device"), # This short link to add new trusted device
'....', '....',
] ]
``` ```