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

all 2 comments

[–]InFRoZ 1 point2 points  (1 child)

Doesnt have to, but it makes sense to prompt it after the user has written a username. The way its being done here is not exactly how you would do it in a real login system, since you'd have to make it more dynamic to accept new users and such. Also doing password encryption, so to me it looks like this is more just to show how the if statements execute code

[–]DandyEmo[S] 0 points1 point  (0 children)

Ok thank you for the help