Skip to content

Commit

Permalink
Disabled browser autofill on system config
Browse files Browse the repository at this point in the history
  • Loading branch information
pini-girit committed Apr 24, 2019
1 parent 14d9411 commit 66c4f72
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<field id="cloudinary_enabled" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<label>Enable cloudinary</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment><![CDATA[<input name="disable_autofill_envvar" type="text" style="display:none!important;"><input name="disable_autofill_loginuser" type="password" style="display:none!important;">]]></comment>
</field>
</group>
<group id="setup" translate="label" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0">
Expand All @@ -26,13 +25,13 @@
<field id="cloudinary_environment_variable" translate="label comment" type="obscure" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<label>Cloudinary Account Credentials</label>
<comment>
<![CDATA[Set the credentials of your Cloudinary account. Copy the "Environment variable" string from the dashboard of Cloudinary's Management Console.<br>Format should be: cloudinary://API_Key:API_Secret@Cloud_Name]]>
<![CDATA[Set the credentials of your Cloudinary account. Copy the "Environment variable" string from the dashboard of Cloudinary's Management Console.<br>Format should be: cloudinary://API_Key:API_Secret@Cloud_Name<input name="disable_autofill_envvar" type="text" style="display:none!important;"><input name="disable_autofill_loginuser" type="password" style="display:none!important;">]]>
</comment>
<backend_model>Cloudinary\Cloudinary\Model\Config\Backend\Credentials</backend_model>
</field>
<field id="cloudinary_automatic_login_user" translate="label comment" type="text" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<field id="cloudinary_automatic_login_user" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
<label>Automatic login</label>
<comment>Enter the email address of the user to be automatically logged in to the Media Library. Leave blank to prompt each user to login when the Media Library opens.</comment>
<comment><![CDATA[Enter the email address of the user to be automatically logged in to the Media Library. Leave blank to prompt each user to login when the Media Library opens.]]></comment>
</field>
</group>
<group id="configuration" translate="label" sortOrder="3" showInDefault="1" showInWebsite="0" showInStore="0">
Expand Down

0 comments on commit 66c4f72

Please sign in to comment.