[FIX] google_gmail, *: Changed client secret field type to password
*: microsoft_outlook, website_twitter Steps to reproduce: - install the google_gmail, microsoft_outlook and website_twitter modules - go to Settings > General settings > Discuss > External email servers - for the twitter module go to Settings > Website > Features > Twitter roller - the client secret fields are visible This commit changes the fields types into 'password'. opw-2936506 closes odoo/odoo#97722 X-original-commit: 18a792ee21441a2e07cef5997368e6d1a268f46c Signed-off-by: Anh Thao PHAM <pta@odoo.com> Signed-off-by: stcc-odoo <stcc@odoo.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
<div class="row mt16" id="gmail_client_secret">
|
||||
<label string="Secret" for="google_gmail_client_secret" class="col-lg-3 o_light_label"/>
|
||||
<field name="google_gmail_client_secret" class="ms-2"
|
||||
<field name="google_gmail_client_secret" password="True" class="ms-2"
|
||||
placeholder="Secret of your Google app"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<div class="row mt16" id="outlook_client_secret">
|
||||
<label string="Secret" for="microsoft_outlook_client_secret"
|
||||
class="col-lg-3 o_light_label"/>
|
||||
<field name="microsoft_outlook_client_secret" class="ms-2"
|
||||
<field name="microsoft_outlook_client_secret" password="True" class="ms-2"
|
||||
placeholder="Secret of your Outlook app"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-lg-3 o_light_label" string="API secret" for="twitter_api_secret"/>
|
||||
<field name="twitter_api_secret" class="oe_inline"/>
|
||||
<field name="twitter_api_secret" password="True" class="oe_inline"/>
|
||||
</div>
|
||||
<a data-bs-toggle="collapse" href="#" data-bs-target="#twitter_tutorial" aria-label="Twitter tutorial">
|
||||
<i class="fa fa-arrow-right"/>
|
||||
|
||||
Reference in New Issue
Block a user