How to allow unconfirmed users to login

Then the code you put it in never changed but if it where to change you would not know. and it would fully break of give side effects