Both are correct. There is a choice of not backshifting the verb if the condition is still true.
https://www.ef.com/ca/english-resources/english-grammar/tense-changes-when-using-reported-speech/
[excerpt]
You do not need to change the tense if the reporting verb is in the present, or if the original statement was about something that is still true, e.g.
He says he has missed the train but he'll catch the next one.
We explained that it is very difficult to find our house.