Doing Email OTP

This commit is contained in:
Mohamed ElKalioby
2019-01-21 16:22:08 +03:00
parent 57561dd65a
commit d74e286dff
7 changed files with 207 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
from django.conf.urls import url
import views,totp,U2F,TrustedDevice,helpers,FIDO2
from . import views,totp,U2F,TrustedDevice,helpers,FIDO2,Email
urlpatterns = [
url(r'totp/start/', totp.start , name="start_new_otop"),
@@ -8,6 +8,9 @@ url(r'totp/verify', totp.verify, name="verify_otop"),
url(r'totp/auth', totp.auth, name="totp_auth"),
url(r'totp/recheck', totp.recheck, name="totp_recheck"),
url(r'email/start/', Email.start , name="start_new_email"),
url(r'email/auth/', Email.auth , name="email_auth"),
url(r'u2f/$', U2F.start, name="start_u2f"),
url(r'u2f/bind', U2F.bind, name="bind_u2f"),
url(r'u2f/auth', U2F.auth, name="u2f_auth"),