Feature: #106752 - Add password hashing option to SaveToDatabase finisher
See forge#106752
Description
A new option
hashed has been added to the
\Save of the system
extension
typo3/cms-form
.
When saving form data to a database table, setting
hashed: true for a
field causes the value to be hashed using the default frontend password hashing
mechanism before it is written to the database.
This improves security by preventing passwords from being stored in plain text.
Example usage in a form definition:
EXT:my_extension/Configuration/Form/ExampleForm.form.yaml
- identifier: SaveToDatabase
options:
table: 'fe_users'
elements:
password:
mapOnDatabaseColumn: 'password'
hashed: true
Copied!
Impact
Integrators can now ensure secure password storage when saving form data with
the
\Save, without
implementing custom logic.