Invalid CSRF storage

If i click on Enable two Factor,i have this

/var/www/html/Inwentarz/vendor/slim/csrf/src/Guard.php(152): Invalid CSRF storage. Use session_start() before instantiating the Guard middleware or provide array storage.

Any ideas?

Are you sure you have set up URL Rewrite properly? You might encounter the same problem as https://discourse.hkvstore.com/t/api-jupload-404-not-found-nginx-web-server/6578/4 problem remains, you may enable Debug and post the complete error message with stack trace.