aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/communication/requests.py
diff options
context:
space:
mode:
authorPhilip Paquette <pcpaquette@gmail.com>2019-09-11 17:34:18 -0400
committerPhilip Paquette <pcpaquette@gmail.com>2019-09-14 18:18:53 -0400
commit96c5441ac652bb2e7e396381d3fb2e0964ad68da (patch)
tree29a582fd80553b47ea25d25908f2b624ae5c54c8 /diplomacy/communication/requests.py
parent57c9c33ae756cc17af223f6bc671191684ee9c9b (diff)
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
Diffstat (limited to 'diplomacy/communication/requests.py')
-rw-r--r--diplomacy/communication/requests.py6
1 files changed, 1 insertions, 5 deletions
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)
# =================