fix regression, login should allow a return value of 1.

This commit is contained in:
onyx-and-iris 2026-03-19 05:42:35 +00:00
parent f458fb8d0e
commit 0bd28be7b8

View File

@ -45,7 +45,7 @@ class Binds:
return retval return retval
def login(self): def login(self):
return self._call(self.bind_login) return self._call(self.bind_login, ok=(0, 1))
def logout(self): def logout(self):
return self._call(self.bind_logout) return self._call(self.bind_logout)