mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Do not report hashed user passworts in user list.
This commit is contained in:
parent
8f4b742d65
commit
465aac14f3
@ -391,7 +391,6 @@ static auth_result htpasswd_userlist(auth_t *auth, xmlNodePtr srcnode)
|
|||||||
htpasswd_user *user = (htpasswd_user *)node->key;
|
htpasswd_user *user = (htpasswd_user *)node->key;
|
||||||
newnode = xmlNewChild(srcnode, NULL, XMLSTR("user"), NULL);
|
newnode = xmlNewChild(srcnode, NULL, XMLSTR("user"), NULL);
|
||||||
xmlNewTextChild(newnode, NULL, XMLSTR("username"), XMLSTR(user->name));
|
xmlNewTextChild(newnode, NULL, XMLSTR("username"), XMLSTR(user->name));
|
||||||
xmlNewTextChild(newnode, NULL, XMLSTR("password"), XMLSTR(user->pass));
|
|
||||||
node = avl_get_next(node);
|
node = avl_get_next(node);
|
||||||
}
|
}
|
||||||
thread_rwlock_unlock(&state->file_rwlock);
|
thread_rwlock_unlock(&state->file_rwlock);
|
||||||
|
Loading…
Reference in New Issue
Block a user