|
@@ -161,7 +161,7 @@ function searx_enable_login {
|
161
|
161
|
read_config_param $MY_USERNAME
|
162
|
162
|
SEARX_LOGIN_PASS=$(${PROJECT_NAME}-pass -u $MY_USERNAME -a searx)
|
163
|
163
|
dialog --title $"Enable Searx login" \
|
164
|
|
- --msgbox $"Searx logins are now enabled with the password $SEARX_LOGIN_PASS" 6 40
|
|
164
|
+ --msgbox $"Searx logins are now enabled with the password $SEARX_LOGIN_PASS" 6 65
|
165
|
165
|
SEARX_LOGIN_PASS=
|
166
|
166
|
;;
|
167
|
167
|
1) if ! grep -q '#auth_basic' /etc/nginx/sites-available/searx; then
|
|
@@ -169,7 +169,7 @@ function searx_enable_login {
|
169
|
169
|
systemctl restart nginx
|
170
|
170
|
fi
|
171
|
171
|
dialog --title $"Disable Searx login" \
|
172
|
|
- --msgbox $"Searx logins are now disabled. Anyone can access your metasearch engine." 6 40
|
|
172
|
+ --msgbox $"Searx logins are now disabled. Anyone can access your metasearch engine." 6 65
|
173
|
173
|
;;
|
174
|
174
|
esac
|
175
|
175
|
}
|