Skip to content

Commit

Permalink
bug:4470 authenticating layers against qGIS auth config
Browse files Browse the repository at this point in the history
  • Loading branch information
cfsgarcia committed Sep 26, 2024
1 parent 721ce41 commit 670ab40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/classes/qgisVectorLayer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function getDatasourceParameters()
);
$parameters = array(
'dbname', 'service', 'host', 'port', 'user', 'password',
'sslmode', 'key', 'estimatedmetadata', 'selectatid',
'sslmode', 'authcfg', 'key', 'estimatedmetadata', 'selectatid',
'srid', 'type', 'checkPrimaryKeyUnicity',
'table', 'geocol', 'sql', 'schema', 'tablename',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class qgisVectorLayerDatasource
'user' => "user='?([^ ']+)'? ",
'password' => "password='?([^ ']+)'? ",
'sslmode' => "sslmode='?([^ ']+)'? ",
'authcfg' => "authcfg='?([^ ']+)'? ",
'key' => "key='?([^ ']+)'? ",
'estimatedmetadata' => 'estimatedmetadata=([^ ]+) ',
'selectatid' => 'selectatid=([^ ]+) ',
Expand Down

0 comments on commit 670ab40

Please sign in to comment.