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:

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_basic.php
[
    'columns' => [
        'password_2' => [
            'label' => 'password_2',
            'description' => 'type=password hashed=false',
            'config' => [
                'type' => 'password',
                'hashed' => false,
            ],
        ],
    ],
]