Update user_edit.php

This commit is contained in:
FusionPBX
2020-04-16 17:11:48 -06:00
committed by GitHub
parent f8d4ff3fd3
commit ac85543881

View File

@@ -1059,16 +1059,7 @@
}
echo "<script>\n";
//uuid generation script
echo "function uuid() {\n";
echo " var d = new Date().getTime();\n";
echo " var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n";
echo " var r = (d + Math.random()*16)%16 | 0;\n";
echo " d = Math.floor(d/16);\n";
echo " return (c=='x' ? r : (r&0x3|0x8)).toString(16);\n";
echo " });\n";
echo " return uuid;\n";
echo "};\n";
//hide password fields before submit
echo " function submit_form() {\n";
echo " hide_password_fields();\n";