mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2025-07-10 05:53:16 -07:00
initial commit
This commit is contained in:
16
accounts/urls.py
Normal file
16
accounts/urls.py
Normal file
@ -0,0 +1,16 @@
|
||||
from django.urls import path
|
||||
from .enable_totp import enable_totp, disable_totp
|
||||
from .login import log_in, two_factor_input
|
||||
from . import views
|
||||
|
||||
app_name = "accounts"
|
||||
|
||||
urlpatterns = [
|
||||
path('login/', log_in, name='login'),
|
||||
path('logout/', views.log_out, name='logout'),
|
||||
path('edit-profile/', views.edit_profile, name='edit_profile'),
|
||||
path('password-change/', views.password_change, name='password_change'),
|
||||
path('enable-totp/', enable_totp, name='enable_totp'),
|
||||
path('disable-totp/', disable_totp, name='disable_totp'),
|
||||
path('two-factor-input/', two_factor_input, name='two_factor_input'),
|
||||
]
|
Reference in New Issue
Block a user