[users] Log pwquality error message as well (better than just "-14")

main
Adriaan de Groot 5 years ago
parent b890345b1f
commit ab5d5fb772

@ -354,7 +354,8 @@ DEFINE_CHECK_FUNC( libpwquality )
int r = settings->check( s );
if ( r < 0 )
{
cWarning() << "libpwquality error" << r;
cWarning() << "libpwquality error" << r
<< pwquality_strerror( nullptr, 256, r, nullptr );
}
else if ( r < settings->arbitrary_minimum_strength )
{

Loading…
Cancel
Save