Fix authorize oauth2 application

This commit is contained in:
Nicolas Le Goff
2014-03-13 16:50:50 +01:00
parent 16d9b0e61c
commit bdde87718c

View File

@@ -7,7 +7,7 @@ $(document).ready(function () {
type: "GET",
url: $this.attr("href"),
dataType: 'json',
data: {revoke: $this.hasClass("authorize") ? 1 : 0},
data: {revoke: $this.hasClass("authorize") ? 0 : 1},
success: function (data) {
if (data.success) {
var li = $this.closest('li');