Changeset 8153
- Timestamp:
- 01/06/12 17:42:02 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/modules/admin-full/luasrc/model/cbi/admin_system/admin.lua
r8070 r8153 39 39 if v1 and v2 and #v1 > 0 and #v2 > 0 then 40 40 if v1 == v2 then 41 if luci.sys.user.setpasswd( "root", v1) == 0 then41 if luci.sys.user.setpasswd(luci.dispatcher.context.authuser, v1) == 0 then 42 42 m.message = translate("Password successfully changed!") 43 43 else
