luci-base: remove security token from urls
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 20 Oct 2015 22:31:27 +0000 (00:31 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 20 Oct 2015 22:31:27 +0000 (00:31 +0200)
commit86326e0deff92a485ffd47e22ac70194abb3fd66
tree6ae03754d647ef967afe0e4a7f0e53ea967ca12b
parentf23f7b8751bb36829fd2136dffadcfe1e702149a
luci-base: remove security token from urls

Now that sensitive urls require post requests and only accept them if a valid
security token is sent along the request, we can drop the global random url
token to improve LuCI usability.

The main improvement is the ability to use multiple tabs with the same login
session, but also deep linking to specific urls without the need for another
login becomes feasible, e.g. for documentation purposes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/dispatcher.lua