We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1aa630 commit b0a0b92Copy full SHA for b0a0b92
src/Tqdev/PhpCrudApi/Middleware/DbAuthMiddleware.php
@@ -63,6 +63,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
63
$columnNames = array_map('trim', explode(',', $returnedColumns));
64
$columnNames[] = $passwordColumnName;
65
$columnNames[] = $pkName;
66
+ $columnNames = array_values(array_unique($columnNames));
67
}
68
$columnOrdering = $this->ordering->getDefaultColumnOrdering($table);
69
if ($path == 'register') {
0 commit comments