Skip to content

Instantly share code, notes, and snippets.

@eS-IT
Last active December 7, 2019 11:15
Show Gist options
  • Select an option

  • Save eS-IT/511e2aa6a083746c8f3e65c501672c66 to your computer and use it in GitHub Desktop.

Select an option

Save eS-IT/511e2aa6a083746c8f3e65c501672c66 to your computer and use it in GitHub Desktop.
contao_dca_Passwort
<?php
'mypassword' => [
'label' => &$GLOBALS['TL_LANG'][$table]['mypassword'],
'exclude' => true,
'inputType' => 'password',
'eval' => ['mandatory'=>true, 'preserveTags'=>true, 'minlength'=>\Contao\Config::get('minPasswordLength')],
'sql' => "varchar(128) NOT NULL default ''"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment