Skip to content

Commit

Permalink
Switch login from GET to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Aug 28, 2019
1 parent 90177c7 commit 592c0a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 9 additions & 9 deletions resources/scripts/eXide.min.js

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

3 changes: 3 additions & 0 deletions src/eXide.js
Expand Up @@ -920,6 +920,8 @@ eXide.app = (function(util) {
}
});
$("#login-dialog").dialog("open");
// Why doesn't this set focus when login dialog is opened?
$("#login-dialog input:first").focus();
} else
callback();
},
Expand Down Expand Up @@ -1178,6 +1180,7 @@ eXide.app = (function(util) {
}
$.ajax({
url: "login",
type: "POST",
data: params,
dataType: "json",
success: function (data) {
Expand Down

0 comments on commit 592c0a0

Please sign in to comment.