Legibility issue upon entering credentials

#613
This commit is contained in:
Jean-Marie Renouard 2023-02-02 08:29:45 +01:00
parent 31a85bea0b
commit 8aa8ffaa5b

View file

@ -1001,6 +1001,7 @@ sub mysql_setup {
my $userpath = `printenv HOME`; my $userpath = `printenv HOME`;
chomp($userpath); chomp($userpath);
unless ( -e "$userpath/.my.cnf" ) { unless ( -e "$userpath/.my.cnf" ) {
print STDERR "";
badprint badprint
"Successfully authenticated with no password - SECURITY RISK!"; "Successfully authenticated with no password - SECURITY RISK!";
} }
@ -1008,6 +1009,7 @@ sub mysql_setup {
return 1; return 1;
} }
else { else {
print STDERR "";
badprint badprint
"Attempted to use login credentials, but they were invalid."; "Attempted to use login credentials, but they were invalid.";
exit 1; exit 1;