Commit cdf63bf5 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Do not report hashed user passworts in user list.

parent cf29cba8
...@@ -401,7 +401,6 @@ static auth_result htpasswd_userlist(auth_t *auth, xmlNodePtr srcnode) ...@@ -401,7 +401,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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment