add µ and €

This commit is contained in:
Michael Zanetti 2018-08-06 23:11:25 +02:00
parent fa70780b43
commit 0f56846ffd

View File

@ -421,7 +421,7 @@ bool UserManager::validatePassword(const QString &password) const
if (!password.contains(QRegExp("[0-9]"))) {
return false;
}
if (!password.contains(QRegExp("[!\"§$%&/()#*\\'+\\.\\\\@]"))) {
if (!password.contains(QRegExp("[!\"§$%&/()#*\\'+\\.\\\\@€µ~]"))) {
return false;
}
return true;