CSRF Errors patient tracker

interface/patient_tracker/patient_tracker.php

@bradymiller can you revisit this file. I put this updated file in. I have noticed these log entries.

 [Wed May 05 13:24:23.855169 2021] [php7:notice] [pid 189460] [client 69.28.93.63:61675] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/main/tabs/main.php?token_main=pMWEnGwXL0RaJDsMeVNtDpzXZtInNGZD8HFNNswl
 [Wed May 05 13:26:23.953444 2021] [php7:notice] [pid 189471] [client 69.28.93.63:53398] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1
 [Wed May 05 13:28:23.922035 2021] [php7:notice] [pid 189329] [client 69.28.93.63:51691] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1
 [Wed May 05 13:31:23.911960 2021] [php7:notice] [pid 189312] [client 69.28.93.63:47424] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1
 [Wed May 05 13:33:23.923509 2021] [php7:notice] [pid 189497] [client 69.28.93.63:32408] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1
 [Wed May 05 13:35:23.909483 2021] [php7:notice] [pid 189498] [client 69.28.93.63:35136] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1
 [Wed May 05 13:35:23.979335 2021] [php7:notice] [pid 189488] [client 69.28.93.63:32809] OpenEMR CSRF token authentication error, referer: https://ehr.com/interface/patient_tracker/patient_tracker.php?skip_timeout_reset=1

Do you have a thought on what could be causing these CSRF errors?

hi @juggernautsei ,
Did you update both files in that PR?
Is this log entry showing up every minute or so (part of the tracker auto refresh) or when you just click on the Patient Board item in top menu?

@brady.miller I only have seen one file. Which file is the other file you are referring to? Do you mean all of the updated files?

hi @juggernautsei ,
Note there were 2 files modified in that PR:
restoresession cleanup in patient tracker by bradymiller · Pull Request #4355 · openemr/openemr · GitHub

Ok, I updated the other file. I will report back in a week or so. Thanks