Add input-password type #3375
Labels
Component: PeerTube Plugin 📦
Features that can be developed in a plugin, but require PeerTube plugin API development
Type: Feature Request ✨
Describe the problem to be solved
A plugin like auth-ldap displays the password in clear text in the settings form.
I would like plugins with sensitive information to allow edition without displaying their content.
Describe the solution you would like:
Add a
input-password
that plugins can use to set sensitive information.Describe alternatives you have considered
None that I can think of.
I think I can provide a PR for that with roughly this content:
PeerTube/shared/models/plugins/register-client-form-field.model.ts
Lines 1 to 4 in 781ba98
PeerTube/client/src/app/shared/shared-forms/dynamic-form-field.component.html
Lines 6 to 8 in 781ba98
PS: I hope I'm not saying anything wrong that already exists 😅 (did not find anything in docs about it).
The text was updated successfully, but these errors were encountered: