[users] Different disambiguation for pwd-empty check

- all the other checks use "PWQ" as a tag, so use that here too
main
Adriaan de Groot 5 years ago
parent e11c9a049f
commit 445d8501a7

@ -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 ) ) );
}

Loading…
Cancel
Save