hashed

hashed (type => password)
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

boolean

Scope

Proc.

Default

true

If hashed is set to false, if the field value will be saved as plaintext to the database.

Note

The configuration 'hashed' => false has no effect for all fields in the tables be_users and fe_users. In general it is not recommended to save passwords as plain text to the database.

Examples

The password will be saved as plain text:

'tx_mytable' => [
   'columns' => [
      'my_password_field' => [
         'label' => 'Password',
         'config' => [
            'type' => 'password',
            'hashed' => false,
         ]
      ]
   ]
]