User logged out of panel when clicking on file

Hello, I have a very strange bug occurring.

Within the panel, if I click on a file of a “Files” field, I am immediately logged out. I am sent to the login page and faced with the the “Invalid CSRF” error and am not able to log back in. Trying on different browsers the same thing occurred.

Have you tested this also in a fresh Starterkit? If not, please try to reproduce there first.

Thanks for getting back. I needed to disable the Varnish cache on the server. Back working normal now.