We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e024de commit 418faaeCopy full SHA for 418faae
1 file changed
esp8266/scripts/webrepl_setup.py
@@ -60,6 +60,9 @@ def handle_conn(listen_sock):
60
if len(passwd1) < 4:
61
ws.write("Password too short\r\n")
62
continue
63
+ elif len(passwd1) > 9:
64
+ ws.write("Password too long\r\n")
65
+ continue
66
passwd2 = getpass(ws, "Confirm password: ")
67
if passwd1 == passwd2:
68
break
0 commit comments