-
-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
Description
Is your feature request related to a problem?
I would like to have login, logout, password reset, etc functionality, but ability to remove registration for sites that I don't want registration open to the world.
What do we currently have to do now?
Not sure how to remove registration functionality.
Describe the solution you'd like
provide options to craft cli to scaffold the auth, but not include registration.
python craft auth --no-registration
This may require a create-user command to create a registered user since registration would be turned off, that asks for email, username, password, etc
python craft create-user
Describe alternatives you've considered
Alternatively, provide a way to turn off registration via configuration, so:
- craft cli would do normal scaffolding.
- I create the admin user,
- Turn off registration via configuration
Would this be a breaking change ?
- Yes
Anything else ?
No response
MelonSmasher
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status