I have a system where people can register by giving their details. But then I make a decision either to approve or not. If I'm approved, then I want my system capable to create username and password automatically for that registered user where he/she can change it later in profile page.
Any sample please?? Thanks in advance.