I have a simple create user wizard control and It's working pretty well upto now.
The problem is I want to disable create user from logging in immediately after he create his account and I am able to do it by simply setting DisableCreatedUser property to true

But unfortunately when I try to refresh the page immediately after creating an account and check it shows me the user logged in.

And If user directly clicks login and checks it's giving me an error that he needs to activate his account.

I am struggling with the concept of having the user register, but then you immediately lock them out of the app.
–
DOKJan 15 '12 at 18:52

It's just simple that I am creating new user and then it shows me user has succesfully created.Upto here everything is fine.Now When I refresh the page immediately it shows user is logged in though I have disabled his account.
–
coderJan 15 '12 at 18:54

The LoginCreatedUser property can be set to false if you want to
create a user account but not authenticate the account after it is
created. This might be useful if you are an administrator creating
user accounts, for example, or if there is a waiting period before
users can access the Web site.