mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix authorize oauth2 application
This commit is contained in:
@@ -7,7 +7,7 @@ $(document).ready(function () {
|
|||||||
type: "GET",
|
type: "GET",
|
||||||
url: $this.attr("href"),
|
url: $this.attr("href"),
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: {revoke: $this.hasClass("authorize") ? 1 : 0},
|
data: {revoke: $this.hasClass("authorize") ? 0 : 1},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
var li = $this.closest('li');
|
var li = $this.closest('li');
|
||||||
|
Reference in New Issue
Block a user