libs/web: rework luci.sauth
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Aug 2012 09:48:47 +0000 (09:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Aug 2012 09:48:47 +0000 (09:48 +0000)
commitabef50b85238f9effd7e6d6b3195358a84e56ecc
tree74392bf9601cef853636e4a98401587b7106b589
parenta58370ab74aebca6871b1524a655f7bb5086e0a6
libs/web: rework luci.sauth
- perform decoding/encoding transparently in read() and write()
- remove decode() and encode() helpers
- introduce reap() to kill expired sessions
libs/web/luasrc/sauth.lua