No printing of secrets even at debug level

This commit is contained in:
QuantumEntangledAndy committed 2020-07-14 09:59:55 +07:00
1 parent 419c9561d2
commit 5d30e1a8b1
1 file changed
-1
-1
View File
@@ -149,7 +149,6 @@ impl RtspServer {
for credential in credentials {
if let Some((user, pass)) = credential {
debug!("Setting credentials for user {}", user);
debug!("Password is {}", pass);
let token = RTSPToken::new(&[(*RTSP_TOKEN_MEDIA_FACTORY_ROLE, user)]);
let basic = RTSPAuth::make_basic(user, pass);
auth.add_basic(basic.as_str(), &token);