mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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/branches/1.4@63982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -479,7 +479,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 ? "<Set>" : "(N/A)"),
|
||||
(user->deny ? user->deny : "(N/A)"),
|
||||
(user->permit ? user->permit : "(N/A)"),
|
||||
(user->read ? user->read : "(N/A)"),
|
||||
|
Reference in New Issue
Block a user