diff options
author | Lanre Adelowo <adelowomailbox@gmail.com> | 2018-10-20 23:05:01 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-10-21 01:05:01 +0300 |
commit | c2748ea7fe4800331e91b9e7ff62c99181fa2ed6 (patch) | |
tree | 4b352a8187865a2e47fc9b4d46495f055374afd6 /cmd/serv.go | |
parent | 5a4648cdd697be92d33be55cd85069365cce2588 (diff) | |
download | gitea-c2748ea7fe4800331e91b9e7ff62c99181fa2ed6.tar.gz gitea-c2748ea7fe4800331e91b9e7ff62c99181fa2ed6.zip |
Add must-change-password flag to cli for creating a user (#4955)
* add support for an admin to force a user to change his/her password from thee cli
* use BoolFlag instead
* default to true
* simplify by removing unnneccessary if/else
Diffstat (limited to 'cmd/serv.go')
0 files changed, 0 insertions, 0 deletions