mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
httpconnection: allow a global auth.cookiefile config entry
This foreshadows support for defining a cookies file.
This commit is contained in:
parent
3c5a0a039c
commit
bd7f2afe30
@ -69,6 +69,9 @@ def readauthforuri(ui, uri, user):
|
||||
# Read configuration
|
||||
groups = {}
|
||||
for key, val in ui.configitems('auth'):
|
||||
if key in ('cookiefile',):
|
||||
continue
|
||||
|
||||
if '.' not in key:
|
||||
ui.warn(_("ignoring invalid [auth] key '%s'\n") % key)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user