Skip to content
Commit f9e590aa authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-theme-material: do not infer login state from url (#520)



Checking for `;` in the url is no good indicator whether a user is logged in,
instead query the dispatcher and set a `logged-in` CSS class on the `<body>`
element if a session exists.

Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>
parent 6c4341ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment