-
Christian Dresen authoredChristian Dresen authored
urls.py 1.02 KiB
from django.conf.urls import include, url
from warpauth.views import login, reset_password, profile, register
#
# Definition of all available URLS for accessing Functions integrated in WarpAuth
#
urlpatterns = [
# Authentication Pages
url(r'', include('two_factor.urls', 'two_factor')),
url(r'^account/logout/$', login.logout_view, name='logout'),
url(r'^account/registration/$', register.register, name='register'),
url(r'^account/registration/activate/(?P<token>\w+)/$', register.activate, name='activate'),
url(r'^account/registration/resend/$', register.resend_token, name='resend_token'),
url(r'^reset_password/$', reset_password.gen_token, name='reset_password'),
url(r'^reset_password/(?P<reset_hash>\w+)/$', reset_password.change_password, name='index'),
url(r'^profile/$', profile.index, name='index'),
url(r'^profile/change_password/$', profile.change_password, name='change_password'),
url(r'^profile/change_information/$', profile.change_information, name='change_information'),
]