# Re-sending activation links causes issues

**URL:** <https://meta.discourse.org/t/re-sending-activation-links-causes-issues/32250>\
**Category:** Bug\
**Created:** [August 18, 2015, 2:08pm UTC](https://meta.discourse.org/t/re-sending-activation-links-causes-issues/32250 "2015-08-18T14:08:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [August 18, 2015, 2:08pm UTC](https://meta.discourse.org/t/re-sending-activation-links-causes-issues/32250/1 "2015-08-18T14:08:08Z")

</div>

I just recently received a question from one of my users not being able to activate has account, and I have been able to reproduce it on a new test install on version `Discourse 1.4.0.beta9 - https://github.com/discourse/discourse version 4c2df814de4671880d532ae6514c470d831b7009`:

1. Set `email token valid hours` to something short, like `1`.
2. Register a new account.
3. Ignore the activation mail for 1 hour.
4. Try using the link, get `Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?`.
5. Try to log in, get `You can't log in yet. We previously sent an activation email to you at test2@fefrei.de. Please follow the instructions in that email to activate your account. Click here to send the activation email again.`
6. Click to resend the activation mail.
7. Open the new activation mail, and click the (different) link, click `Activate`, get another `Sorry, this account confirmation link is no longer valid. Perhaps your account is already active?`.
8. Click the Discourse logo to navigate to the main page. Surprise: You’re logged in!

So it seems that step 7 is actually working (as it should), but the user is still shown the error message.

---

_[View the full topic](https://meta.discourse.org/t/re-sending-activation-links-causes-issues/32250)._
