I am just a Moroccan and will try to answer this. I think the second one is incorrect. You should use the present tense.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
vcoltsAre both sentences grammatically correct and mean the very same thing?Yes. You often have a choice between those two tenses after subordinators of time (when, before, after, until, ...). The usual choice is the present tense.