diff --git a/src/auth_htpasswd.c b/src/auth_htpasswd.c index efeb0588..6d4b7b7a 100644 --- a/src/auth_htpasswd.c +++ b/src/auth_htpasswd.c @@ -391,7 +391,6 @@ static auth_result htpasswd_userlist(auth_t *auth, xmlNodePtr srcnode) htpasswd_user *user = (htpasswd_user *)node->key; newnode = xmlNewChild(srcnode, NULL, XMLSTR("user"), NULL); xmlNewTextChild(newnode, NULL, XMLSTR("username"), XMLSTR(user->name)); - xmlNewTextChild(newnode, NULL, XMLSTR("password"), XMLSTR(user->pass)); node = avl_get_next(node); } thread_rwlock_unlock(&state->file_rwlock); diff --git a/src/auth_static.c b/src/auth_static.c index 97f62ac4..66528bfe 100644 --- a/src/auth_static.c +++ b/src/auth_static.c @@ -68,7 +68,6 @@ static auth_result static_userlist(auth_t *auth, xmlNodePtr srcnode) newnode = xmlNewChild(srcnode, NULL, XMLSTR("user"), NULL); xmlNewTextChild(newnode, NULL, XMLSTR("username"), XMLSTR(auth_info->username)); - xmlNewTextChild(newnode, NULL, XMLSTR("password"), XMLSTR(auth_info->password)); return AUTH_OK; }