sha1.js use jsdelivr

This commit is contained in:
qkqpttgf
2021-12-14 18:59:21 +08:00
committed by GitHub
parent f3391cd132
commit 270c73afb5
+2 -2
View File
@@ -1085,7 +1085,7 @@ function adminform($name = '', $pass = '', $storage = '', $path = '')
}
}
</script>
<script src="https://cdn.bootcss.com/js-sha1/0.6.0/sha1.min.js"></script>';
<script src="https://cdn.jsdelivr.net/npm/js-sha1@0.6.0/src/sha1.min.js"></script>';
$html .= '</html>';
return output($html, $statusCode);
}
@@ -1778,7 +1778,7 @@ output:
$frame .= getconstStr('NotNeedUpdate');
}*/
$frame .= '<br><br>
<script src="https://cdn.bootcss.com/js-sha1/0.6.0/sha1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-sha1@0.6.0/src/sha1.min.js"></script>
<table>
<form id="change_pass" name="change_pass" action="" method="POST" onsubmit="return changePassword(this);">
<input name="_admin" type="hidden" value="">