Added Global Views for Licenses, Credentials and Certificates

This commit is contained in:
johnnyq
2025-02-20 14:58:25 -05:00
parent 7628fc2643
commit 2795b4e15e
22 changed files with 322 additions and 126 deletions

14
js/generate_password.js Normal file
View File

@@ -0,0 +1,14 @@
function generatePassword(login_id) {
// Send a GET request to ajax.php as ajax.php?get_readable_pass=true
jQuery.get(
"ajax.php", {
get_readable_pass: 'true'
},
function(data) {
//If we get a response from post.php, parse it as JSON
const password = JSON.parse(data);
document.getElementById("password").value = password;
}
);
}