Customise the universal login screen for verified and non-verified users

Hi there!
We’ve noticed that our users are encountering issues with the “email verification” and “forgot password” functionalities. To address this, we’ve decided to customize the login screen accordingly.

Here’s the scenario we’re aiming for: When a user clicks on the “forgot password” link on the login page:

  1. If the user is verified, they should receive a “reset password” link in their email. The notification/alert message on the login screen will display as: “Reset password link has been sent. Please check your email.”
  2. If the user is not verified, they should receive a “verify email” link in their email. The notification/alert message on the login screen will display as: “Your account has not been verified yet. A verification link has been sent to your email. Please check your inbox.”

We’d like to implement and test these changes first in our “DEV” environment before moving them to “PROD.” Is it possible to separate these environments?"