summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-04 18:23:40 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-05 16:11:14 -0300
commitf90efd901c544affda7efbb3c5f303bdd5a91e17 (patch)
tree42f3712dce46849ebca53d4d51cebd78c93261c3
parent213999440917f78d9d5931251cddcaa04493f72a (diff)
Remove password from start_authentication method, since we don't need it
-rw-r--r--src/leap/crypto/srpauth.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py
index 89fee80b..aa9af978 100644
--- a/src/leap/crypto/srpauth.py
+++ b/src/leap/crypto/srpauth.py
@@ -126,7 +126,7 @@ class SRPAuth(QtCore.QObject):
self._srp_a = A
- def _start_authentication(self, _, username, password):
+ def _start_authentication(self, _, username):
"""
Sends the first request for authentication to retrieve the
salt and B parameter
@@ -137,8 +137,6 @@ class SRPAuth(QtCore.QObject):
:type _: IGNORED
:param username: username to login
:type username: str
- :param password: password for the username
- :type password: str
:return: salt and B parameters
:rtype: tuple
@@ -351,8 +349,7 @@ class SRPAuth(QtCore.QObject):
d.addCallback(
partial(self._threader,
self._start_authentication),
- username=username,
- password=password)
+ username=username)
d.addCallback(
partial(self._threader,
self._process_challenge),