#! /bin/bash

##- List users from a external user password file
##: wiki
##+ wiki  Name of the wiki to delete users from

[ "${__twa_bindir}" ] || exec "$(dirname "$0")/twiki-admin" userlist "$@"
[[ $# -ge 1 ]] || __twa_usage_and_exit

__twa_config "$1"

if ! [ "${cfg_vhost_passwd}" ] ; then
	__twa_die "Apache password file handling is disabled in configuration file"
fi

__twa_htpasswd_users "${cfg_vhost_passwd}"

