[users] Do not log the password in plain text
This commit is contained in:
parent
445d8501a7
commit
0d7e19d5e9
@ -524,7 +524,7 @@ UsersPage::addPasswordCheck( const QString& key, const QVariant& value )
|
|||||||
{
|
{
|
||||||
m_passwordChecks.push_back( PasswordCheck(
|
m_passwordChecks.push_back( PasswordCheck(
|
||||||
[]() { return QCoreApplication::translate( "PWQ", "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 !s.isEmpty(); },
|
||||||
PasswordCheck::Weight( 1 ) ) );
|
PasswordCheck::Weight( 1 ) ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user