chore: enable/disable signup in self hosted environments (#1271)
* dev: new onboarding workflow for self hosted instance * dev: additional flag on user creation * dev: segregate sign up and sign in endpoint * dev: update sign in endpoint for not existing users
This commit is contained in:
parent
02111d779b
commit
592fe94cb4
9 changed files with 174 additions and 95 deletions
|
|
@ -5,6 +5,7 @@ from django.urls import path
|
|||
|
||||
from plane.api.views import (
|
||||
# Authentication
|
||||
SignUpEndpoint,
|
||||
SignInEndpoint,
|
||||
SignOutEndpoint,
|
||||
MagicSignInEndpoint,
|
||||
|
|
@ -154,6 +155,7 @@ urlpatterns = [
|
|||
# Social Auth
|
||||
path("social-auth/", OauthEndpoint.as_view(), name="oauth"),
|
||||
# Auth
|
||||
path("sign-up/", SignUpEndpoint.as_view(), name="sign-up"),
|
||||
path("sign-in/", SignInEndpoint.as_view(), name="sign-in"),
|
||||
path("sign-out/", SignOutEndpoint.as_view(), name="sign-out"),
|
||||
# Magic Sign In/Up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue