Permalink
Browse files

Merge pull request #8 from shirkdog/master

Fix for bug #843 in usermanagerback.cpp. Adding in a comma to the regex pattern
  • Loading branch information...
2 parents 8e65899 + d04fae7 commit 8ad6fafdcfafb95e88737e54047b1dc266d24fcd @kmoore134 kmoore134 committed Nov 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-usermanager/usermanagerback.cpp
@@ -38,7 +38,7 @@ void UserManagerBackend::programInit() {
fullnameRegExp.setPattern("([:!@])+");
homeLocRegExp.setPattern("^(/usr)?/home/?");
usernameRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[_]*)+");
- passwordRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[!\"$%^&*()_+=#'`@~:?<>|{}\\-.]*)+");
+ passwordRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[!\"$%^&*()_+=#'`@~:?<>|{}\\-.,]*)+");
groupnameRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[_]*)+");
}

0 comments on commit 8ad6faf

Please sign in to comment.