Skip to content

Commit

Permalink
decodeEntities and preserveTags for username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed May 9, 2022
1 parent 583bcb3 commit 19ed77f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/contao/dca/tl_nc_gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

$GLOBALS['TL_DCA']['tl_nc_gateway']['fields']['kt_api_username'] = [
'inputType' => 'text',
'eval' => ['mandatory' => true, 'maxlength' => 64, 'tl_class' => 'w50'],
'eval' => ['mandatory' => true, 'maxlength' => 64, 'tl_class' => 'w50', 'decodeEntities' => true, 'preserveTags' => true],
'exclude' => true,
'sql' => ['type' => 'string', 'length' => 64, 'default' => ''],
];

$GLOBALS['TL_DCA']['tl_nc_gateway']['fields']['kt_api_password'] = [
'inputType' => 'textStore',
'eval' => ['mandatory' => true, 'maxlength' => 64, 'tl_class' => 'w50'],
'eval' => ['mandatory' => true, 'maxlength' => 64, 'tl_class' => 'w50', 'decodeEntities' => true, 'preserveTags' => true],
'exclude' => true,
'sql' => ['type' => 'string', 'length' => 64, 'default' => ''],
];
Expand Down

0 comments on commit 19ed77f

Please sign in to comment.