Is it possible to adjust the redirect url in the email sent to a user after sign up

When we sign up a new user on erpnext they receive an email providing a link to erpnext login page. In my case, I have a custom react frontend that I would like them to be redirected to instead.
Is it possible to adjust this programmatically?