Ver código fonte

Update home.js

Daniele Bonini (皮夕): WebDev and DevOps by lots of Sim.pli.city bits 3 anos atrás
pai
commit
d865f9ab4d
1 arquivos alterados com 4 adições e 4 exclusões
  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);