[asterisk-commits] qwell: branch 1.4 r63982 -
/branches/1.4/main/manager.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri May 11 13:16:17 MST 2007
Author: qwell
Date: Fri May 11 15:16:17 2007
New Revision: 63982
URL: http://svn.digium.com/view/asterisk?view=rev&rev=63982
Log:
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
Modified:
branches/1.4/main/manager.c
Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=63982&r1=63981&r2=63982
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Fri May 11 15:16:17 2007
@@ -479,7 +479,7 @@
" 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)"),
More information about the asterisk-commits
mailing list