Skip to content

Commit

Permalink
* [MOD] Login method switched over POST in order to avoid max URL len…
Browse files Browse the repository at this point in the history
…gth limitation. Related #1184
  • Loading branch information
nuxsmin committed Jan 24, 2019
1 parent 504df47 commit 2cc7bb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion public/js/app-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ sysPass.Actions = function (log) {

const opts = sysPassApp.requests.getRequestOpts();
opts.url = sysPassApp.util.getUrl(ajaxUrl.entrypoint, {r: $obj.data("route")});
opts.method = "get";
opts.data = $obj.serialize();

sysPassApp.requests.getActionCall(opts, function (json) {
Expand Down Expand Up @@ -1860,6 +1859,9 @@ sysPass.Actions = function (log) {
}
}
});
},
refresh: function ($obj) {
$('#' + $obj.data("action-form")).submit();
}
};

Expand Down
6 changes: 3 additions & 3 deletions public/js/app-actions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2cc7bb9

Please sign in to comment.