TASK-221 Change the AUTH_SOURCE_DATA field from PHP-serialized format to a JSON-formatted string
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
use ProcessMaker\Model\RbacAuthenticationSource;
|
||||
|
||||
require_once 'classes/AuthSources.php';
|
||||
|
||||
try {
|
||||
if (isset($_REQUEST['action']) === false) {
|
||||
throw new Exception('No action was sent');
|
||||
@@ -20,7 +21,7 @@ try {
|
||||
$limit = $_REQUEST['limit'] ?? $limit_size;
|
||||
$filter = $_REQUEST['textFilter'] ?? '';
|
||||
$orderBy = $_REQUEST['orderBy'] ?? '';
|
||||
$ascending = $_REQUEST['ascending'] ?? '';
|
||||
$ascending = $_REQUEST['ascending'] ?? 'asc';
|
||||
|
||||
$authSources = new AuthSources();
|
||||
$responseProxy = $authSources->getListAuthSources($userUid, $start, $limit, $orderBy, $ascending, $filter);
|
||||
|
||||
Reference in New Issue
Block a user