Skip to content

Commit d01133e

Browse files
[FIX] webservice: hide web application specific fields
There was a misuse of `and` instead of `or` in the `invisible` attribute of some fields that are specific to the Web Application flow
1 parent 2a69e79 commit d01133e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

webservice/views/webservice_backend.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
/>
6262
<field
6363
name="redirect_url"
64-
invisible="auth_type != 'oauth2' and oauth2_flow != 'web_application'"
64+
invisible="auth_type != 'oauth2' or oauth2_flow != 'web_application'"
6565
/>
6666
<field
6767
name="oauth2_client_auth_method"
@@ -92,12 +92,12 @@
9292
/>
9393
<field
9494
name="oauth2_scope"
95-
invisible="auth_type != 'oauth2' and oauth2_flow != 'web_application'"
95+
invisible="auth_type != 'oauth2' or oauth2_flow != 'web_application'"
9696
required="auth_type == 'oauth2' and oauth2_flow == 'authorization_code'"
9797
/>
9898
<field
9999
name="oauth2_authorization_url"
100-
invisible="auth_type != 'oauth2' and oauth2_flow != 'web_application'"
100+
invisible="auth_type != 'oauth2' or oauth2_flow != 'web_application'"
101101
required="auth_type == 'oauth2' and oauth2_flow == 'authorization_code'"
102102
/>
103103
<field

0 commit comments

Comments
 (0)