Skip to content

Commit

Permalink
Better/more visible warning message about using SQLAuthType PlainText.
Browse files Browse the repository at this point in the history
  • Loading branch information
Castaglia committed Jun 5, 2017
1 parent 927382b commit 216178d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/mod_sql.c
Expand Up @@ -6747,7 +6747,7 @@ MODRET set_sqlauthtypes(cmd_rec *cmd) {
if (strcasecmp(sah->name, "Plaintext") == 0) {
pr_log_pri(PR_LOG_WARNING, MOD_SQL_VERSION
": WARNING: Use of Plaintext SQLAuthType is insecure, as it allows "
"storage of passwords *in the clear* in your database tables");
"storage of passwords IN THE CLEAR in your database tables!");
}

*((struct sql_authtype_handler **) push_array(auth_list)) = sah;
Expand Down

0 comments on commit 216178d

Please sign in to comment.