Password calls not needed

This commit is contained in:
Bob Mottram 2018-04-09 17:03:05 +01:00
parent c749cd49b7
commit ff088f16d2
1 changed files with 6 additions and 14 deletions

View File

@ -46,31 +46,23 @@ function logging_off_datserver {
}
function remove_user_datserver {
remove_username="$1"
"${PROJECT_NAME}-pass" -u "$remove_username" --rmapp datserver
echo -n ''
}
function add_user_datserver {
new_username="$1"
new_user_password="$2"
"${PROJECT_NAME}-pass" -u "$new_username" -a datserver -p "$new_user_password"
echo -n ''
echo '0'
}
function change_password_datserver {
echo -n ''
}
function install_interactive_datserver {
echo -n ''
APP_INSTALLED=1
}
function change_password_datserver {
curr_username="$1"
new_user_password="$2"
"${PROJECT_NAME}-pass" -u "$curr_username" -a datserver -p "$new_user_password"
}
function reconfigure_datserver {
# This is used if you need to switch identity. Dump old keys and generate new ones
echo -n ''