8000 feat: add login type 'none' to prevent password login by Emyrk · Pull Request #8009 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add login type 'none' to prevent password login #8009

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

Merged
merged 8 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Golden files
  • Loading branch information
Emyrk committed Jun 14, 2023
commit 94502d6c907ea18a9e611c49843a63745da4c7d7
8 changes: 4 additions & 4 deletions cli/testdata/coder_users_create_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Usage: coder users create [flags]

Options
--disable-login bool
Disabling login for a user prevents the user from authenticating
themselves via a login. Authentication would require an api
keys/token. Be careful when using this flag as it can lock the user
out of their account.
Disabling login for a user prevents the user from authenticating via
password or IdP login. Authentication requires an API key/token
generated by an admin. Be careful when using this flag as it can lock
the user out of their account.

-e, --email string
Specifies an email address for the new user.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/users_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ coder users create [flags]
| ---- | ----------------- |
| Type | <code>bool</code> |

Disabling login for a user prevents the user from authenticating themselves via a login. Authentication would require an api keys/token. Be careful when using this flag as it can lock the user out of their account.
Disabling login for a user prevents the user from authenticating via password or IdP login. Authentication requires an API key/token generated by an admin. Be careful when using this flag as it can lock the user out of their account.

### -e, --email

Expand Down
0