diff --git a/get_credential.php b/get_credential.php new file mode 100644 index 00000000..d0f840a4 --- /dev/null +++ b/get_credential.php @@ -0,0 +1,78 @@ + 0){ + $row = mysqli_fetch_array($sql_logins); + $data['found'] = "TRUE"; + $data['username'] = htmlentities($row['login_username']); + $data['password'] = decryptLoginEntry($row['login_password']); + echo json_encode($data); + } +} + +//TODO: Future work:- +// - Check user has permission to this client +// - Showing multiple logins for a single URL \ No newline at end of file