mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
[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:
parent
e11c9a049f
commit
445d8501a7
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ UsersPage::addPasswordCheck( const QString& key, const QVariant& value )
|
||||||
if ( value.toBool() )
|
if ( value.toBool() )
|
||||||
{
|
{
|
||||||
m_passwordChecks.push_back( PasswordCheck(
|
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() ); },
|
[]( const QString& s ) { return ( ( cDebug() << "Checking pwd" << s << "for empty" ), !s.isEmpty() ); },
|
||||||
PasswordCheck::Weight( 1 ) ) );
|
PasswordCheck::Weight( 1 ) ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue