Kaynağa Gözat

Remove monkeysphere options from security menu

It's currently not used or recommended
Bob Mottram 7 yıl önce
ebeveyn
işleme
c94d8bd135
1 değiştirilmiş dosya ile 4 ekleme ve 12 silme
  1. 4
    12
      src/freedombone-sec

+ 4
- 12
src/freedombone-sec Dosyayı Görüntüle

@@ -1212,13 +1212,11 @@ function menu_security_settings {
1212 1212
        14 $"Create a new Let's Encrypt certificate"
1213 1213
        15 $"Renew Let's Encrypt certificate"
1214 1214
        16 $"Delete a Let's Encrypt certificate"
1215
-       17 $"Enable GPG based authentication (monkeysphere)"
1216
-       18 $"Register a website with monkeysphere"
1217
-       19 $"Allow ssh login with passwords"
1218
-       20 $"Show firewall")
1215
+       17 $"Allow ssh login with passwords"
1216
+       18 $"Show firewall")
1219 1217
 
1220 1218
     # shellcheck disable=SC2068
1221
-    selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"Security Settings" --menu $"Choose an operation, or ESC to exit:" 24 76 24 "${W[@]}" 3>&2 2>&1 1>&3)
1219
+    selection=$(dialog --backtitle $"Freedombone Administrator Control Panel" --title $"Security Settings" --menu $"Choose an operation, or ESC to exit:" 22 76 22 "${W[@]}" 3>&2 2>&1 1>&3)
1222 1220
 
1223 1221
     if [ ! "$selection" ]; then
1224 1222
         exit 0
@@ -1309,17 +1307,11 @@ function menu_security_settings {
1309 1307
             delete_letsencrypt
1310 1308
             ;;
1311 1309
         17)
1312
-            enable_monkeysphere
1313
-            ;;
1314
-        18)
1315
-            register_website
1316
-            ;;
1317
-        19)
1318 1310
             allow_ssh_passwords
1319 1311
             change_ssh_settings
1320 1312
             exit 0
1321 1313
             ;;
1322
-        20)
1314
+        18)
1323 1315
             show_firewall
1324 1316
             exit 0
1325 1317
             ;;