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:39:38 +0000 (00:39 +0100)
commit472dc4b9e2ca71c114f5da70cb612c1089b8daa7
treefd1ff4f7039a9c3410444a5d1861e16cb29df7fe
parentaf2c7d9ebeffc50eac5e1203dc00907464fa0b38
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