somehow admin vpass was !=

This commit is contained in:
EntireTwix 2021-06-10 12:00:47 -07:00
parent 0b39b2bc9e
commit c40c63252c

View file

@ -148,7 +148,7 @@ bool Bank::Contains(const std::string &name) const
}
bool Bank::AdminVerifyPass(const std::string &attempt)
{
return (admin_pass != attempt);
return (admin_pass == attempt);
}
int_fast8_t Bank::SetBal(const std::string &name, const std::string &attempt, uint32_t amount)