Skip to content

Commit

Permalink
[Server] Enhance shortNameRegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Apr 1, 2018
1 parent 2d3a097 commit c1b9706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ QString QgsApplication::userStyleV2Path()

QRegExp QgsApplication::shortNameRegExp()
{
return QRegExp( "^[A-Za-z][A-Za-z0-9\\._-]*" );
return QRegExp( "^[A-Za-z_][A-Za-z0-9\\._-]*" );
}

QString QgsApplication::userLoginName()
Expand Down

0 comments on commit c1b9706

Please sign in to comment.