Commit 86a1a580 authored by Philipp Hörist's avatar Philipp Hörist

HTTPAuth: Always ask for confirmation

parent 9de51a58
Pipeline #6141 passed with stages
in 3 minutes and 7 seconds
......@@ -286,7 +286,6 @@ class Config:
'sync_with_global_status': [opt_bool, False, ],
'no_log_for': [opt_str, '', _('List of XMPP Addresses (space separated) for which you do not want to store chat history. You can also add the name of an account to disable storing chat history for this account.')],
'attached_gpg_keys': [opt_str, ''],
'http_auth': [opt_str, 'ask'], # yes, no, ask
# proxy65 for FT
'file_transfer_proxies': [opt_str, ''],
'use_ft_proxies': [opt_bool, False, _('If enabled, Gajim will use your IP and proxies defined in \'file_transfer_proxies\' option for file transfers.'), True],
......
......@@ -44,11 +44,6 @@ class HTTPAuth(BaseModule):
return
self._log.info('Auth request received')
auto_answer = app.settings.get_account_setting(self._account,
'http_auth')
if auto_answer in ('yes', 'no'):
self.build_http_auth_answer(stanza, auto_answer)
raise nbxmpp.NodeProcessed
app.nec.push_incoming_event(
NetworkEvent('http-auth-received',
......
......@@ -225,7 +225,6 @@ ACCOUNT_SETTINGS = {
'sync_with_global_status': False,
'no_log_for': '',
'attached_gpg_keys': '',
'http_auth': 'ask',
'file_transfer_proxies': '',
'use_ft_proxies': False,
'test_ft_proxies_on_startup': False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment