From 47fc5f78efe326cdb5407358d2be66082d3ebb58 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Tue, 2 Aug 2022 16:55:08 -0700 Subject: [PATCH] Password visible toggle (#469) * Add toggle to show password fields * Fix permissions --- files/www/cgi-bin/setup | 38 ++++++++++++++++++++++++++++++++++---- files/www/viz.png | Bin 0 -> 1684 bytes 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 files/www/viz.png diff --git a/files/www/cgi-bin/setup b/files/www/cgi-bin/setup index d864efe2..e75416f5 100755 --- a/files/www/cgi-bin/setup +++ b/files/www/cgi-bin/setup @@ -1020,7 +1020,7 @@ html.print([[ Node Name Password - + ]]) html.print([[ @@ -1031,7 +1031,7 @@ html.print([[ hidden[#hidden + 1] = "" html.print([[ Verify Password - + @@ -1268,7 +1268,7 @@ if (phycount > 1 and (wifi_enable ~= "1" or wifi3_enable ~= "1")) or (phycount = html.print("EncryptionPassword") + html.print("Password") else hidden[#hidden + 1] = "" hidden[#hidden + 1] = "" @@ -1349,7 +1349,7 @@ if (phycount > 1 and (wifi_enable ~= "1" or wifi2_enable ~= "1")) or (phycount = end html.print("SSID") - html.print("Password") + html.print("Password") else hidden[#hidden + 1] = "" hidden[#hidden + 1] = "" @@ -1395,6 +1395,36 @@ do end html.print("") +html.print([[ +]]) html.footer() html.print("") http_footer() diff --git a/files/www/viz.png b/files/www/viz.png new file mode 100644 index 0000000000000000000000000000000000000000..f9ccd37c788be3a9a20a605a01bbdf33d1494db4 GIT binary patch literal 1684 zcmeAS@N?(olHy`uVBq!ia0vp^azHG~!3HD)zsDs4DVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMH3o);76yi2K%s^g3=E|P3=FRl7#OT(FffQ0%-I!a1C*#pjqptK^<~fkvN;%7 z7=;*^fh~aDsl@z zx)^LKtboki)RIJnirk#MVyg;UC9n!BAR8pCucQE0Qj%?}6yY17;GAESs$iyPpl6_D z$EBd4U{jQmW)z9|8>y;bpKhp88yV>WRp=I1 z=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