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

server,cmd: Add flag for disabling registation #144

Merged
merged 2 commits into from
Oct 1, 2015

Conversation

bobbyrullo
Copy link
Contributor

For situations where admins add users.

For situations where admins add users.
@@ -44,6 +44,8 @@ func main() {
emailFrom := fs.String("email-from", "no-reply@coreos.com", "emails sent from dex will come from this address")
emailConfig := fs.String("email-cfg", "./static/fixtures/emailer.json", "configures emailer.")

enableRegistration := fs.Bool("enable-registration", true, "Allows users to self-register")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this default to true? While we might break existing installs if it defaults to false, it seems safer to have open registration be the explicit choice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same thought process. yeah, you're probably right.

@joeatwork
Copy link
Contributor

Looks great!

@bobbyrullo
Copy link
Contributor Author

Thanks joe, PTAL when you can!

@joeatwork
Copy link
Contributor

LGTM

bobbyrullo added a commit that referenced this pull request Oct 1, 2015
server,cmd: Add flag for disabling registation
@bobbyrullo bobbyrullo merged commit 48b3b38 into dexidp:master Oct 1, 2015
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

Successfully merging this pull request may close these issues.

2 participants