Skip to content

Commit

Permalink
use known path for entropy check url (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-96 authored and David Coutadeur committed Apr 8, 2024
1 parent 1e55d52 commit 55dfebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/js/ppolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
if (newpasswordVal.length > 0) {
return $.ajax({
dataType: "json",
url: "/?action=checkentropy&password=" + btoa(newpasswordVal),
url: location.pathname + "?action=checkentropy&password=" + btoa(newpasswordVal),
context: document.body,
success: function(data) {
var level, msg;
Expand Down

0 comments on commit 55dfebe

Please sign in to comment.