Permalink
Browse files

Merge pull request #9 from shirkdog/master

Added in \[ and \] as they are valid for passwords.
  • Loading branch information...
2 parents 8680865 + b2eecb3 commit cef0aac8e6a351c88644a676477da8b5ad17711d @kmoore134 kmoore134 committed Nov 28, 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]*[!\"$%^&*()_+=#'`@~:?<>|{}\\x5b;\\-.,\\x5d]*)+");
groupnameRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[_]*)+");
}

0 comments on commit cef0aac

Please sign in to comment.