Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account Creation should be configurable #1

Open
czue opened this issue Aug 20, 2020 · 2 comments
Open

Account Creation should be configurable #1

czue opened this issue Aug 20, 2020 · 2 comments

Comments

@czue
Copy link
Member

czue commented Aug 20, 2020

Currently you can only deploy with public account creation available. However, we should expose an option to lock this down.

To lock it down requires changing the ACCOUNT_ADAPTER here https://github.com/dimagi/commcare-sync-ansible/blob/master/roles/commcare_sync/templates/django/local.py.j2#L15-L16

It should be set to EmailAsUsernameAdapter if public account creation is enabled, or NoNewUsersAccountAdapter if it is not.

@czue
Copy link
Member Author

czue commented Aug 20, 2020

@prem-fissionhq do you want to look into this?

@prem-fissionhq
Copy link
Collaborator

@czue yes, will look into this. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants