]> source.dussan.org Git - gitea.git/commit
Don't force a password change for the admin user when creating an account via cli...
authorLanre Adelowo <adelowomailbox@gmail.com>
Sun, 25 Nov 2018 07:42:24 +0000 (08:42 +0100)
committerLauris BH <lauris@nix.lv>
Sun, 25 Nov 2018 07:42:24 +0000 (09:42 +0200)
commitfd37fb01fdb75ba7555424b37b3b92721ae30698
tree420e588a2ec6b3c7d9179d852d190ab7a95e725d
parent3379141d818804aa8f7143ef32bd538c7e4ce795
Don't force a password change for the admin user when creating an account via cli (#5391)

* don't force a password change for the admin user

* don't totally dicard -must-change-password flag if creating the first (admin) user via the cli. Use flag if present but make sure to default to not forcing a password update
cmd/admin.go