def check_password(self, password): """Check the entry-password whether as same as user.password.""" return bcrypt.check_password_hash(self.password, password)
def check_password(self, password): return bcrypt.check_password_hash(self.password, password)
def check_password(self, password): print('check_password:', self.password, password) return bcrypt.check_password_hash(self.password, password)
def check_password(self, value): """Check password.""" return bcrypt.check_password_hash(self.password, value)