From 97be9126fde4d03a2216e6c3682f69593d6f6fe4 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 16 Jun 2008 13:01:56 +0000 Subject: [PATCH] Remove passwords from the LIST server command, even for Aides. This is a security risk. --- citadel/user_ops.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 6baed0b2e..a7504f0e4 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -1648,16 +1648,13 @@ void ListThisUser(struct ctdluser *usbuf, void *data) if ((CC->user.axlevel >= 6) || ((usbuf->flags & US_UNLISTED) == 0) || ((CC->internal_pgm))) { - cprintf("%s|%d|%ld|%ld|%ld|%ld|", + cprintf("%s|%d|%ld|%ld|%ld|%ld||\n", usbuf->fullname, usbuf->axlevel, usbuf->usernum, (long)usbuf->lastcall, usbuf->timescalled, usbuf->posted); - if (CC->user.axlevel >= 6) - cprintf("%s", usbuf->password); - cprintf("\n"); } } } -- 2.30.2