This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/core/urls.py

32 lines
1.1 KiB
Python
Raw Normal View History

2018-11-11 12:41:48 +00:00
"""passbook URL Configuration"""
from django.urls import path
2018-11-11 12:41:48 +00:00
from passbook.core.views import authentication, overview, user
2018-11-11 12:41:48 +00:00
urlpatterns = [
# Authentication views
2019-12-31 11:51:16 +00:00
path("auth/login/", authentication.LoginView.as_view(), name="auth-login"),
path("auth/logout/", authentication.LogoutView.as_view(), name="auth-logout"),
path("auth/sign_up/", authentication.SignUpView.as_view(), name="auth-sign-up"),
path(
"auth/sign_up/<uuid:nonce>/confirm/",
authentication.SignUpConfirmView.as_view(),
name="auth-sign-up-confirm",
),
path(
"auth/password/reset/<uuid:nonce>/",
authentication.PasswordResetView.as_view(),
name="auth-password-reset",
),
# User views
path("-/user/", user.UserSettingsView.as_view(), name="user-settings"),
path("-/user/delete/", user.UserDeleteView.as_view(), name="user-delete"),
2019-12-31 11:51:16 +00:00
path(
"-/user/change_password/",
2019-12-31 11:51:16 +00:00
user.UserChangePasswordView.as_view(),
name="user-change-password",
),
# Overview
2019-12-31 11:51:16 +00:00
path("", overview.OverviewView.as_view(), name="overview"),
2018-11-16 08:10:35 +00:00
]