from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'login/$', views.log_me_in, name='login'),
    url(r'login/2fa/$', views.auth_2fa, name='2fa_auth'),
    url(r'logout', views.log_me_out, name='logout'),
    url(r'user/$', views.user, name='user_home'),
    url(r'user/2fa/$', views.two_fa, name='2fa_home'),
    url(r'user/2fa/register/$', views.two_fa_register, name='2fa_register'),
    url(r'^static/js/users\.js', views.users_js, name='users_js'),
]

from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'login/$', views.log_me_in, name='login'),
    url(r'login/2fa/$', views.auth_2fa, name='2fa_auth'),
    url(r'logout', views.log_me_out, name='logout'),
    url(r'user/$', views.user, name='user_home'),
    url(r'user/2fa/$', views.two_fa, name='2fa_home'),
    url(r'user/2fa/delete/$', views.delete_auth, name='delete_2fa'),
    url(r'user/2fa/register/$', views.two_fa_register, name='2fa_register'),
    url(r'^static/js/users\.js', views.users_js, name='users_js'),
]

delete auth added