Skip to content

Commit c80e5d1

Browse files
committedJan 17, 2017
[bugfix] Fixes WFS HTTP auth basic username/password
Fixes #15360 and #15597
1 parent b119744 commit c80e5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsdatasourceuri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ QgsDataSourceUri::QgsDataSourceUri( QString uri )
153153
{
154154
mAuthConfigId = pval;
155155
}
156-
else if ( pname == QLatin1String( "user" ) )
156+
else if ( pname == QLatin1String( "user" ) || pname == QLatin1String( "username" ) ) // Also accepts new WFS provider naming
157157
{
158158
mUsername = pval;
159159
}

0 commit comments

Comments
 (0)
Please sign in to comment.