]> source.dussan.org Git - gitea.git/commit
Add must-change-password flag to cli for creating a user (#4955)
authorLanre Adelowo <adelowomailbox@gmail.com>
Sat, 20 Oct 2018 22:05:01 +0000 (23:05 +0100)
committerLauris BH <lauris@nix.lv>
Sat, 20 Oct 2018 22:05:01 +0000 (01:05 +0300)
commitc2748ea7fe4800331e91b9e7ff62c99181fa2ed6
tree4b352a8187865a2e47fc9b4d46495f055374afd6
parent5a4648cdd697be92d33be55cd85069365cce2588
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
cmd/admin.go