-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 must-change-password flag to cli for creating a user #4955
Conversation
cmd/admin.go
Outdated
@@ -59,6 +59,11 @@ var ( | |||
Value: "custom/conf/app.ini", | |||
Usage: "Custom configuration file path", | |||
}, | |||
cli.StringFlag{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be cli.BoolFlag
. Also why default to false if from UI default is true?
Codecov Report
@@ Coverage Diff @@
## master #4955 +/- ##
========================================
Coverage ? 37.4%
========================================
Files ? 306
Lines ? 45334
Branches ? 0
========================================
Hits ? 16956
Misses ? 25924
Partials ? 2454 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #4955 +/- ##
=======================================
Coverage 37.39% 37.39%
=======================================
Files 308 308
Lines 45612 45612
=======================================
Hits 17057 17057
- Misses 26096 26097 +1
+ Partials 2459 2458 -1
Continue to review full report at Codecov.
|
bccdb4d
to
ddced41
Compare
@lafriks need your approval. |
This is more like an addition to #4489 .. This introduces a flag that mimics the aforementioned PR.