forked from Telodendria/Telodendria
Fix error setting up UIA flows.
This commit is contained in:
parent
866343071a
commit
2bbe13aaf0
1 changed files with 4 additions and 1 deletions
|
@ -50,6 +50,7 @@ ROUTE_IMPL(RouteUiaFallback, path, argp)
|
||||||
int uiaResult;
|
int uiaResult;
|
||||||
Config *config;
|
Config *config;
|
||||||
Array *flows;
|
Array *flows;
|
||||||
|
Array *flow;
|
||||||
|
|
||||||
config = ConfigLock(args->matrixArgs->db);
|
config = ConfigLock(args->matrixArgs->db);
|
||||||
if (!config)
|
if (!config)
|
||||||
|
@ -67,8 +68,10 @@ ROUTE_IMPL(RouteUiaFallback, path, argp)
|
||||||
}
|
}
|
||||||
|
|
||||||
Log(LOG_DEBUG, "Building flows...");
|
Log(LOG_DEBUG, "Building flows...");
|
||||||
|
flow = ArrayCreate();
|
||||||
flows = ArrayCreate();
|
flows = ArrayCreate();
|
||||||
ArrayAdd(flows, UiaStageBuild(authType, NULL));
|
ArrayAdd(flow, UiaStageBuild(authType, NULL));
|
||||||
|
ArrayAdd(flows, flow);
|
||||||
Log(LOG_DEBUG, "about to UiaComplete()...");
|
Log(LOG_DEBUG, "about to UiaComplete()...");
|
||||||
uiaResult = UiaComplete(flows, args->context,
|
uiaResult = UiaComplete(flows, args->context,
|
||||||
args->matrixArgs->db, request, &response, config);
|
args->matrixArgs->db, request, &response, config);
|
||||||
|
|
Loading…
Reference in a new issue