Skip to content

Commit a4a1c0d

Browse files
author
Carlos Gonzalez Betancort
committed
MB-34126 Stop enforcing password character limit
Change-Id: I89b45de1f196121cc39f62cff25dbef4ab2595e3 Reviewed-on: http://review.couchbase.org/109032 Well-Formed: Build Bot <build@couchbase.com> Reviewed-by: Patrick Varley <patrick@couchbase.com> Tested-by: Carlos Gonzalez <carlos.gonzalez@couchbase.com>
1 parent c7d7842 commit a4a1c0d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

cluster_manager.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
import urllib
1010
import urlparse
1111

12-
MAX_LEN_PASSWORD = 24
13-
1412
N1QL_SERVICE = 'n1ql'
1513
INDEX_SERVICE = 'index'
1614
MGMT_SERVICE = 'mgmt'
@@ -324,9 +322,6 @@ def set_admin_credentials(self, username, password, port):
324322
if username:
325323
params["username"] = username
326324
if password:
327-
if len(password) > MAX_LEN_PASSWORD:
328-
return None, ["Password length %s exceeds maximum length of %s characters" \
329-
% (len(password), MAX_LEN_PASSWORD)]
330325
params["password"] = password
331326
if port:
332327
params["port"] = port

0 commit comments

Comments
 (0)