Open SabbyDude opened 1 year ago
I'm suffering from the same issue. Keeps saying incorrect Password
Try to convert it to hash string
WHat are the login credentials to sign in very first timre? Everytime it throws Voter id not found.
@shreyas-0203 there are no voters created by default, they need to be created in the admin menu OR imported to the database
@SabbyDude @CwabyDaniels passwords are stored in the database as an output of the function password_hash(password, PASSWORD_DEFAULT)
@bacigala so what exactly needs to be done to dodge the "incorrect password" issue?
you have to edit records in the database, the column "password" in the table "admin" should contain hashed password, to hash a password, use a php function password_hash(password, PASSWORD_DEFAULT) where "password" is the password to be hashed, or you can use this webpage to generate the hash
the same applies to the table "voters"
I have added an entry in the voters sql but it keeps saying Incorrect Password even though it is correct