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

Add a "default-username" setting #199

Closed
woodruffw opened this issue Jun 4, 2021 · 2 comments · Fixed by #307
Closed

Add a "default-username" setting #199

woodruffw opened this issue Jun 4, 2021 · 2 comments · Fixed by #307
Assignees

Comments

@woodruffw
Copy link
Owner

Most websites use the user's email as their username these days, so it might be nice to have a setting like this:

[commands.new]
default-username = "foo@bar.com"

When set, this should have the same behavior as kbs2 new with a generator: if the user doesn't enter a username, then the default one is substituted.

@woodruffw
Copy link
Owner Author

This is slightly annoying to do with how I've designed the current kbs2::input module. That should probably be refactored first.

@woodruffw
Copy link
Owner Author

This will be much easier to implement once #306 lands.

woodruffw added a commit that referenced this issue Feb 19, 2022
woodruffw added a commit that referenced this issue Feb 19, 2022
* kbs2: add commands.new.default-username

Closes #199.

* README, CHANGELOG: docs

* kbs2/input: lint

* contrib: kbs2-yad-login: respect commands.new.default-username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant