From 96c5441ac652bb2e7e396381d3fb2e0964ad68da Mon Sep 17 00:00:00 2001 From: Philip Paquette Date: Wed, 11 Sep 2019 17:34:18 -0400 Subject: channel.authenticate() - Deprecated argument 'create_user' - User is now created by default if it doesn't exist on the server - Unless the server prevents new registrations --- diplomacy/communication/requests.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'diplomacy/communication/requests.py') diff --git a/diplomacy/communication/requests.py b/diplomacy/communication/requests.py index f16c33c..3291dfb 100644 --- a/diplomacy/communication/requests.py +++ b/diplomacy/communication/requests.py @@ -198,7 +198,6 @@ class SignIn(_AbstractRequest): :param username: account username :param password: account password - :param create_user: if True, server must create user. If False, server must login user. :return: - Server: :class:`.DataToken` @@ -207,19 +206,16 @@ class SignIn(_AbstractRequest): :type username: str :type password: str - :type create_user: bool """ - __slots__ = ['username', 'password', 'create_user'] + __slots__ = ['username', 'password'] params = { strings.USERNAME: str, strings.PASSWORD: str, - strings.CREATE_USER: bool } def __init__(self, **kwargs): self.username = None self.password = None - self.create_user = None super(SignIn, self).__init__(**kwargs) # ================= -- cgit v1.2.3