瀏覽代碼

Password calls not needed

Bob Mottram 7 年之前
父節點
當前提交
ff088f16d2
共有 1 個檔案被更改,包括 6 行新增14 行删除
  1. 6
    14
      src/freedombone-app-datserver

+ 6
- 14
src/freedombone-app-datserver 查看文件

@@ -46,29 +46,21 @@ function logging_off_datserver {
46 46
 }
47 47
 
48 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 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 54
     echo '0'
60 55
 }
61 56
 
62
-function install_interactive_datserver {
57
+function change_password_datserver {
63 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 66
 function reconfigure_datserver {