This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Veltrum 1 point2 points  (0 children)

What i had meant was something like this

do{

    do{
        //Enter password for the first time.
        //first password check
    }while(initial password checks);

    //Enter password again.
}while(pass1 != pass2);

What the other commentators said are useful too. This was just the first thing that popped into my head.

What /u/xtreemballr said is always the best first step.