mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 08:11:28 +00:00
hide and reorder menu entryes for non authorized users
This commit is contained in:
parent
82630e20c0
commit
b2da8acfeb
|
@ -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 ;;
|
||||
|
|
Loading…
Reference in a new issue