Increase dialog size
This commit is contained in:
parent
a51f70e424
commit
c9f0223c58
|
@ -161,7 +161,7 @@ function searx_enable_login {
|
||||||
read_config_param $MY_USERNAME
|
read_config_param $MY_USERNAME
|
||||||
SEARX_LOGIN_PASS=$(${PROJECT_NAME}-pass -u $MY_USERNAME -a searx)
|
SEARX_LOGIN_PASS=$(${PROJECT_NAME}-pass -u $MY_USERNAME -a searx)
|
||||||
dialog --title $"Enable Searx login" \
|
dialog --title $"Enable Searx login" \
|
||||||
--msgbox $"Searx logins are now enabled with the password $SEARX_LOGIN_PASS" 6 40
|
--msgbox $"Searx logins are now enabled with the password $SEARX_LOGIN_PASS" 6 65
|
||||||
SEARX_LOGIN_PASS=
|
SEARX_LOGIN_PASS=
|
||||||
;;
|
;;
|
||||||
1) if ! grep -q '#auth_basic' /etc/nginx/sites-available/searx; then
|
1) if ! grep -q '#auth_basic' /etc/nginx/sites-available/searx; then
|
||||||
|
@ -169,7 +169,7 @@ function searx_enable_login {
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
fi
|
fi
|
||||||
dialog --title $"Disable Searx login" \
|
dialog --title $"Disable Searx login" \
|
||||||
--msgbox $"Searx logins are now disabled. Anyone can access your metasearch engine." 6 40
|
--msgbox $"Searx logins are now disabled. Anyone can access your metasearch engine." 6 65
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue