Activar Redirección de Cuenta

Can someone help me override the redirect function under the account activation page. I was looking at the codes from the repo and the function can’t be override with the api.modifyClass function. I need to redirect some user’s back to the page where they come from after activation.

The exact desired flow would be:
Sign up → Activate Account → Login User → Redirect to a different page

Default flow:
Sign up → Activate Account → Login User → Redirect to Homepage

I wanted to skip redirecting to Homepage and proceed in going to my desired page after login.

This is image for the actual button I’m referring.

And this is the function of the button.

Your response would be highly appreciated. Thank you!

3 Me gusta

¿Por qué mi redirección automática de Discourse no funciona?

El usuario necesita registrarse → esperar el correo electrónico y hacer clic en el enlace → hacer clic en el botón en la página de activar cuenta.

Más pasos… :frowning_with_open_mouth:

¿Lo has resuelto o hay una nueva solución para habilitar cuentas sin usar el botón?

He decidido asumir los riesgos de spam, si eso escala a ser un problema, puedo volver atrás sin duda :slight_smile:

¡Solo verificando si alguien puede darnos una dirección en esto!