Skip to content

Commit

Permalink
[bugfix] Fixes WFS HTTP auth basic username/password
Browse files Browse the repository at this point in the history
Fixes #15360 and #15597
  • Loading branch information
elpaso committed Jan 17, 2017
1 parent b119744 commit c80e5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsdatasourceuri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ QgsDataSourceUri::QgsDataSourceUri( QString uri )
{
mAuthConfigId = pval;
}
else if ( pname == QLatin1String( "user" ) )
else if ( pname == QLatin1String( "user" ) || pname == QLatin1String( "username" ) ) // Also accepts new WFS provider naming
{
mUsername = pval;
}
Expand Down

0 comments on commit c80e5d1

Please sign in to comment.