Less errors in logs, fixed CSRF vulnerability [ci-skip]