nullify ftp passwd whenever user is changed, not only when user is

changed to 'ftp'.
This commit is contained in:
grant 2002-07-31 12:44:14 +00:00
parent 8d3ed14056
commit c8c81b4a57
3 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.en,v 1.57 2002/07/29 03:24:47 grant Exp $ */
/* $NetBSD: menus.mi.en,v 1.58 2002/07/31 12:44:14 grant Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -282,7 +282,6 @@ menu ftpsource, title "Change";
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "User", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
if (strcmp(ftp_user, "ftp") == 0)
ftp_pass[0] = '\0';
};
option "Password", action

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.fr,v 1.37 2002/07/29 03:24:47 grant Exp $ */
/* $NetBSD: menus.mi.fr,v 1.38 2002/07/31 12:44:15 grant Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -251,7 +251,6 @@ menu ftpsource, title "Changer";
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "Utilisateur", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
if (strcmp(ftp_user, "ftp") == 0)
ftp_pass[0] = '\0';
};
option "Mot de passe", action

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi.pl,v 1.8 2002/07/29 03:24:48 grant Exp $ */
/* $NetBSD: menus.mi.pl,v 1.9 2002/07/31 12:44:15 grant Exp $ */
/* Based on english version: */
/* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */
@ -284,7 +284,6 @@ menu ftpsource, title "Zmien";
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "Uzytkownik", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
if (strcmp(ftp_user, "ftp") == 0)
ftp_pass[0] = '\0';
};
option "Haslo", action