Skip to content
Browse files

Added in \[ and \] as they are valid for passwords.

  • Loading branch information...
1 parent d04fae7 commit b2eecb36720cd0e7e3759add472af8218de6d649 @shirkdog shirkdog committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-usermanager/usermanagerback.cpp
View
2 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 b2eecb3

Please sign in to comment.
Something went wrong with that request. Please try again.