When i try to Login it always says Login Failed....
JalaBrat (1)

its very simple and basic register/login program but it always says login failed, been digging for hours and cant get it right...

You are viewing a single comment. View All
Geocube101 (245)

@JalaBrat I see that, but on line 50 you're trying to see if the file is in the lines which always returns false because the file object file1 is not inside of the string list returned by reading the file

Try:

if password_info2 in verify:
  login_succes()
else:
  login_failed()