Bläddra i källkod

Password calls not needed

Bob Mottram 7 år sedan
förälder
incheckning
ff088f16d2
1 ändrade filer med 6 tillägg och 14 borttagningar
  1. 6
    14
      src/freedombone-app-datserver

+ 6
- 14
src/freedombone-app-datserver Visa fil

46
 }
46
 }
47
 
47
 
48
 function remove_user_datserver {
48
 function remove_user_datserver {
49
-    remove_username="$1"
50
-
51
-    "${PROJECT_NAME}-pass" -u "$remove_username" --rmapp datserver
49
+    echo -n ''
52
 }
50
 }
53
 
51
 
54
 function add_user_datserver {
52
 function add_user_datserver {
55
-    new_username="$1"
56
-    new_user_password="$2"
57
-
58
-    "${PROJECT_NAME}-pass" -u "$new_username" -a datserver -p "$new_user_password"
53
+    echo -n ''
59
     echo '0'
54
     echo '0'
60
 }
55
 }
61
 
56
 
62
-function install_interactive_datserver {
57
+function change_password_datserver {
63
     echo -n ''
58
     echo -n ''
64
-    APP_INSTALLED=1
65
 }
59
 }
66
 
60
 
67
-function change_password_datserver {
68
-    curr_username="$1"
69
-    new_user_password="$2"
70
-
71
-    "${PROJECT_NAME}-pass" -u "$curr_username" -a datserver -p "$new_user_password"
61
+function install_interactive_datserver {
62
+    echo -n ''
63
+    APP_INSTALLED=1
72
 }
64
 }
73
 
65
 
74
 function reconfigure_datserver {
66
 function reconfigure_datserver {