Add apps page

This commit is contained in:
2021-01-12 14:07:55 +01:00
parent 4dd819d49f
commit ad03e0758b
13 changed files with 298 additions and 79 deletions

View File

@@ -71,7 +71,7 @@ func (wc *WebController) newTemplateData(w http.ResponseWriter, r *http.Request)
if err.Error() == "authentication_required" || err.Error() == "authentication_failed" {
// Disable API authentication
t.PixelAPI = wc.api
t.PixelAPI = wc.api.RealIP(util.RemoteAddress(r))
// Remove the authentication cookie
log.Debug("Deleting invalid API key")