Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
support jumbo secrets in local encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
yahesh committed May 7, 2020
1 parent a7036fe commit ecac29c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/share/get.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<?php
}
?>
<script src="/resources/js/share.js?<?= $cache_value ?>" integrity="sha256-Az8eO3tKRtZRK9wLBD+T741jTm7HPwfc0I78/S0qGdw=" type="text/javascript"></script>
<script src="/resources/js/share.js?<?= $cache_value ?>" integrity="sha256-JgwhPbFEIzq89yXPJxa5NkZsH8F5MtkCsQ/5sHwU+gg=" type="text/javascript"></script>

<?php

Expand Down
2 changes: 1 addition & 1 deletion resources/js/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}

// check the length of the output
if ((null != result) && (1024 >= result.length)) {
if ((null != result) && (MAX_PARAM_SIZE >= result.length)) {
document.getElementById("secret").value = result;

document.getElementById("share-secret-btn").disabled = false;
Expand Down

0 comments on commit ecac29c

Please sign in to comment.