OpenSlides/server/openslides/users/urls.py
FinnStutzenstein 2bcab5d098
Repository restructure
- moved all server related things into the folder `server`, so this
configuration is parallel to the client.
- All main "services" are now folders in the root directory
- Added Dockerfiles to each service (currently server and client)
- Added a docker compose configuration to start everything together.
Currently there are heavy dependencies into https://github.com/OpenSlides/openslides-docker-compose
- Resturctured the .gitignore. If someone needs something excluded,
please add it to the right section.
- Added initial build setup with Docker and docker-compose.
- removed setup.py. We won't deliver OpenSlides via pip anymore.
2020-08-21 08:11:13 +02:00

24 lines
743 B
Python

from django.conf.urls import url
from . import views
urlpatterns = [
# Auth
url(r"^login/$", views.UserLoginView.as_view(), name="user_login"),
url(r"^logout/$", views.UserLogoutView.as_view(), name="user_logout"),
url(r"^whoami/$", views.WhoAmIView.as_view(), name="user_whoami"),
url(r"^setpassword/$", views.SetPasswordView.as_view(), name="user_setpassword"),
url(r"^setpresence/$", views.SetPresenceView.as_view(), name="user_setpresence"),
url(
r"^reset-password/$",
views.PasswordResetView.as_view(),
name="user_reset_password",
),
url(
r"^reset-password-confirm/$",
views.PasswordResetConfirmView.as_view(),
name="password_reset_confirm",
),
]