Feature #101703
closedAllow TCA fieldControl=passwordGenerator for more than type=password (i.e. for readable tokens)
100%
Description
Hi!
The new passwordGenerator option for TCA type=password is great. It would allow me to prevent creating own FormEngine Wizards.
However it currently is not usable for readable type=input fields. I would love to use the ability of passwordGenerator in addition to a passwordPolicy here.
This would allow me to define a TCA field for randomized access tokens very easily. The type=password TCA currently is not able to reveal "passwords", but that would be needed for backend editors to see the actual contents. Setting "hashed=false" sadly doesn't add a "reveal password" functionality.
I would love to offer trying to implement this, but want to know what direction to go:
A: Add configuration so that "password" fields with a "hashed=false" setting can show a button (just like for the passwordGenerator) that allows to reveal the current contents. I do not have much core-experience, it may be a problem to actually get/display the raw password at this place?
B: Add passwordGenerator ability to be used at least for type=input fields; there no masking of input would take place, and it could be used for randomizing tokens. passwordPolicy would also need implementation
C: ???
Probably related issues:
https://forge.typo3.org/issues/97387
https://forge.typo3.org/issues/96997
https://forge.typo3.org/issues/69190
Best regards,
Garvin