That’s totally correct!
Passé composé implies an action that started in the past and that is over. It’s a ponctual action.
Imparfait is used for lasting actions in the past.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.