hide and reorder menu entryes for non authorized users

This commit is contained in:
localhost_frssoft 2022-04-14 12:15:55 +03:00
parent 82630e20c0
commit b2da8acfeb

View file

@ -517,7 +517,7 @@ while true; do
if [ -n "$auth" ]; then
main_menu=$(echo "$menu_write_status\n$menu_timeline\n$notif\n$backup_restore\n$switchinstance\n$Exit" | fzy)
else
main_menu=$(echo "$menu_write_status\n$menu_timeline\n$notif\n$authmake\n$switchinstance\n$Exit" | fzy)
main_menu=$(echo "$authmake\n$menu_timeline\n$switchinstance\n$Exit" | fzy)
fi
case $main_menu in
"$menu_write_status") write_status_menu ;;