Kibana authentication when sharing the dashboard in web application

kibana/src/server/http/xsrf.js. I cannot see this file in Kibana version 7.15.2. Can you help me where to change this option in Kibana version 7.15.2