Filter the cookie scheme in auth_redirect()
|Reported by:||nbachiyski||Owned by:|
Currently every admin URL requires an auth cookie. While trying to integrate upload on the front-end side I found I needed to be able to run admin code with logged_in cookie, only.
The patch adds a filter for the scheme inside auth_redirect(), the function which makes the actual log-in check.