Users are being repeatedly prompted to log in and enter verification codes every time they access the Salesforce Sandbox organization, even during the same session or day. This constant authentication requirement disrupts workflow and reduces productivity
2 answers
,
It's a new change enforced by salesforce. Please refer the article. It has steps with which you can mitigate the impact
https://help.salesforce.com/s/articleView?id=005220394&type=1