Unable to login to matomo

Hi
I have installed matomo without any error but I am unable to login.
Return this error:
Error : The form security failed because of invalid origin. If you previously connected using HTTPS, please ensure you are connecting over a secure (SSL/TLS) connection and try again.

Do you have a no-referer header on your origin?
I found Apache configuration of 'Header set Referrer-Policy "no-referrer"' causes Matomo login to fail · Issue #15083 · matomo-org/matomo · GitHub

1 Like

Hi
If I set it in .htaccess I receive a 500 error