Procházet zdrojové kódy

Changing searx password

Bob Mottram před 7 roky
rodič
revize
a5f307ddfb
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      src/freedombone-app-searx

+ 3
- 1
src/freedombone-app-searx Zobrazit soubor

@@ -198,7 +198,9 @@ function install_interactive_searx {
198 198
 }
199 199
 
200 200
 function change_password_searx {
201
-    echo -n ''
201
+    new_username="$1"
202
+    new_user_password="$2"
203
+    add_user_searx "$new_username" "$new_user_password"
202 204
 }
203 205
 
204 206
 function reconfigure_searx {