From 8b5634e4b47f763c788190c94e689242c03a663c Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Fri, 11 May 2007 20:16:56 +0000 Subject: [PATCH] Merged revisions 63982 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r63982 | qwell | 2007-05-11 15:16:17 -0500 (Fri, 11 May 2007) | 7 lines Hide manager password from "manager show user foo". I realize that there are other ways to get this, but we really don't need to just show it in plain text so easily. Issue 9273, patch by junky ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63983 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/manager.c b/main/manager.c index e1377d4ac3..b96eebaf94 100644 --- a/main/manager.c +++ b/main/manager.c @@ -495,7 +495,7 @@ static int handle_showmanager(int fd, int argc, char *argv[]) " write: %s\n" "displayconnects: %s\n", (user->username ? user->username : "(N/A)"), - (user->secret ? user->secret : "(N/A)"), + (user->secret ? "" : "(N/A)"), (user->deny ? user->deny : "(N/A)"), (user->permit ? user->permit : "(N/A)"), (user->read ? user->read : "(N/A)"),