nullify ftp passwd whenever user is changed, not only when user is
changed to 'ftp'.
This commit is contained in:
parent
8d3ed14056
commit
c8c81b4a57
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue