luci-mod-admin-full: admin: change password in Map.parse()
authorJo-Philipp Wich <jo@mein.io>
Wed, 25 Jan 2017 23:21:17 +0000 (00:21 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 25 Jan 2017 23:21:19 +0000 (00:21 +0100)
commitca7555026765fed5fe2bf4aa2c65f8b21764b4b6
tree66a725af3ab35a5b11f97341c27ec616d9afc106
parent1640d141913367827ab442276a943b0a3bba2e20
luci-mod-admin-full: admin: change password in Map.parse()

Move the password setting into the .parse() callback to ensure that it is
updated regardless of whether "Save" or "Save & Apply" has been pressed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua