Adds registration view

This commit is contained in:
Mouse Reeve
2021-01-12 08:19:08 -08:00
parent 6e71ff2aa1
commit 05b4cb59b0
8 changed files with 68 additions and 61 deletions

View File

@ -42,8 +42,10 @@ urlpatterns = [
# TODO: re_path(r'^.well-known/host-meta/?$', incoming.host_meta),
# TODO: robots.txt
# ui vviews
# authentication
re_path(r'^login/?$', views.LoginView.as_view()),
re_path(r'^register/?$', views.RegisterView.as_view()),
re_path(r'^about/?$', vviews.about_page),
re_path(r'^password-reset/?$', vviews.password_reset_request),
re_path(r'^password-reset/(?P<code>[A-Za-z0-9]+)/?$', vviews.password_reset),
@ -91,7 +93,6 @@ urlpatterns = [
# internal action endpoints
re_path(r'^logout/?$', actions.user_logout),
re_path(r'^user-register/?$', actions.register),
re_path(r'^reset-password-request/?$', actions.password_reset_request),
re_path(r'^reset-password/?$', actions.password_reset),
re_path(r'^change-password/?$', actions.password_change),