refactor: combine sign in and sign up endpoint to a single endpoint (#263)
This commit is contained in:
parent
0477db69a0
commit
af1d49bbf5
4 changed files with 52 additions and 102 deletions
|
|
@ -5,7 +5,6 @@ from django.urls import path
|
|||
|
||||
from plane.api.views import (
|
||||
# Authentication
|
||||
SignUpEndpoint,
|
||||
SignInEndpoint,
|
||||
SignOutEndpoint,
|
||||
MagicSignInEndpoint,
|
||||
|
|
@ -95,7 +94,6 @@ urlpatterns = [
|
|||
path("social-auth/", OauthEndpoint.as_view(), name="oauth"),
|
||||
# Auth
|
||||
path("sign-in/", SignInEndpoint.as_view(), name="sign-in"),
|
||||
path("sign-up/", SignUpEndpoint.as_view(), name="sign-up"),
|
||||
path("sign-out/", SignOutEndpoint.as_view(), name="sign-out"),
|
||||
# Magic Sign In/Up
|
||||
path(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue