Would anything happen if I clicked on the link to take the activation test again

Hi

I was going through some old emails when I found my old activation email. I clicked on it (I didn’t think it would work), but lo and behold, it pulled it up. But, I had a thought. Would taking the test wipe everything I’ve done? Or would it just do nothing. Does anyone know?

Most likely it will do absolutely nothing, since most of such activation implementations redirect to the main page of the site if the specified user is already activated (or something different is wrong, like wrong activation key, etc.)

Why don’t you create a test account, take the test, make a test post, then take the test again?

But no, I doubt anything bad happens. It probably just changes your activation status to true- in other words, nothing happens.

Can you believe I just added some code that would indeed wipe your account upon reactivation? I wouldn’t, but… I wouldn’t take the dare, knowing me.

Instead of having an activation status of either true or false, you should have an activation level. Every time we take the test, our level increases, and the test becomes harder.


public void onActivationTestPassed() {
    account.activated = !account.activated;
}

That should take care of any smart alecs.