[tutorial v1.1_211] redefines the behavior to password mandatory if the user is defined
This commit is contained in:
parent
0d683cd302
commit
34314ae8f3
1 changed files with 18 additions and 0 deletions
18
foxyproxy/10-redefine.yml
Normal file
18
foxyproxy/10-redefine.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
proxies:
|
||||||
|
|
||||||
|
username:
|
||||||
|
redefine: true
|
||||||
|
mandatory: false
|
||||||
|
|
||||||
|
password:
|
||||||
|
redefine: true
|
||||||
|
hidden:
|
||||||
|
jinja: |-
|
||||||
|
{{ not _.username }}
|
||||||
|
return_type: boolean
|
||||||
|
description: if username is empty
|
||||||
|
...
|
||||||
Loading…
Reference in a new issue