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

Set-NextcloudUser #3

Open
Skons opened this issue Oct 5, 2019 · 0 comments
Open

Set-NextcloudUser #3

Skons opened this issue Oct 5, 2019 · 0 comments

Comments

@Skons
Copy link

Skons commented Oct 5, 2019

With Set-NextcloudUser there are two issues:

  1. The password variable should not be a string, when the password parameter can be plaintext it could be exposed in logfiles which could compromise that user. Securestring should be used instead.
  2. Some parameters are not to be used together, in my opinion Disable should not be used with any other parameter. This could be easily solved with parametersets: https://devblogs.microsoft.com/powershell/powershell-v2-parametersets/
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

1 participant