Makes it easier to understand how to change the behavior.
/* caching is handled only by the main auth process */
passdb_cache_init(global_auth_settings);
if (global_auth_settings->allow_weak_schemes)
- i_warning("Weak password schemes are allowed");
+ i_warning("Weak password schemes are allowed "
+ "(auth_allow_weak_schemes=yes)");
}
}
}
if (s->weak && !g_allow_weak) {
- *error_r = t_strdup_printf("Weak password scheme '%s' used and refused",
+ *error_r = t_strdup_printf("Weak password scheme '%s' used and refused "
+ "(Set auth_allow_weak_schemes=yes to allow)",
s->name);
return -1;
}