# Activate Account Redirect

**URL:** https://meta.discourse.org/t/activate-account-redirect/194186
**Category:** Development
**Created:** [June 17, 2021, 1:03pm UTC](https://meta.discourse.org/t/activate-account-redirect/194186 "2021-06-17T13:03:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cris.navarroza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cris.navarroza/32/212437_2.png) [@cris.navarroza](https://meta.discourse.org/u/cris.navarroza)
#### Post date: [June 17, 2021, 1:03pm UTC](https://meta.discourse.org/t/activate-account-redirect/194186/1 "2021-06-17T13:03:55Z")

</div>

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.

 ![Screen Shot 2021-06-17 at 8.57.48 PM](https://global.discourse-cdn.com/meta/original/3X/8/5/8584a89758c6a269c2fd13ed826013690041cd7b.png)

And this is the function of the button.

 ![Screen Shot 2021-06-17 at 8.49.55 PM](https://global.discourse-cdn.com/meta/original/3X/b/b/bb1e1a46a763a968506dd114a781fe7b5cf95858.png)

Your response would be highly appreciated. Thank you!

---

<div class="post-metadata">

### Author: ![DragonByte](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@DragonByte](https://meta.discourse.org/u/DragonByte)
#### Post date: [June 21, 2022, 2:15pm UTC](https://meta.discourse.org/t/activate-account-redirect/194186/2 "2022-06-21T14:15:37Z")

</div>

Why on my Discourse auto redirect not work?

User need sign up → wait e-mail and click to link → click to button on activate-account page.

More steps… 😦

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [August 15, 2023, 12:14am UTC](https://meta.discourse.org/t/activate-account-redirect/194186/3 "2023-08-15T00:14:47Z")

</div>

Did you figured it out or there is a fresh workaround to enable accounts without using the button?

> I chose to take the spam risks, if that scalate to be an issue I can go back for sure 🙂

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [December 18, 2023, 6:51pm UTC](https://meta.discourse.org/t/activate-account-redirect/194186/5 "2023-12-18T18:51:35Z")

</div>

Just checking if someone can give us a direction into this!
