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

luci-base: dispatcher: add login indication on 403 errors



Send a custom LuCI X-Header to indicate that a login is required to access
the requested resource. This is mainly intended for xhr.js to be able to
intercept such responses and popup an authentication dialog.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 5dddb105
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