[users] Different disambiguation for pwd-empty check

- all the other checks use "PWQ" as a tag, so use that here too
This commit is contained in:
Adriaan de Groot 2019-11-08 13:22:37 +01:00
parent e11c9a049f
commit 445d8501a7

View file

@ -523,7 +523,7 @@ UsersPage::addPasswordCheck( const QString& key, const QVariant& value )
if ( value.toBool() )
{
m_passwordChecks.push_back( PasswordCheck(
[]() { return QCoreApplication::translate( "EMP", "Password is empty" ); },
[]() { return QCoreApplication::translate( "PWQ", "Password is empty" ); },
[]( const QString& s ) { return ( ( cDebug() << "Checking pwd" << s << "for empty" ), !s.isEmpty() ); },
PasswordCheck::Weight( 1 ) ) );
}