Customer reset password message to check email for link

I’m looking to add a message for when customers enter their email to reset their forgotten password. Right now it just takes you back to the login page and I want a message to pop up saying something about check your email for a link to reset your password. Is there a code I can add?