Parcourir la source

Update home.js

Daniele Bonini (皮夕): WebDev and DevOps by lots of Sim.pli.city bits il y a 3 ans
Parent
commit
d865f9ab4d
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      Public/js/home.js

+ 4 - 4
Public/js/home.js

@@ -34,10 +34,10 @@ function showEncodedPassword() {
     $("#Password").addClass("emptyfield");
     return;  
   }
-  if ($("#Salt").val() === "") {
-    $("#Salt").addClass("emptyfield");
-    return;  
-  }	   	
+  //if ($("#Salt").val() === "") {
+  //$("#Salt").addClass("emptyfield");
+  //return;  
+  //}	   	
   passw = encryptSha2( $("#Password").val() + $("#Salt").val());
   msg = "Please set your hash in the config file with this value:";
   alert(msg + "\n\n" + passw);