-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
good first issueGood for newcomersGood for newcomersissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: core:strapiSource is core/strapi packageSource is core/strapi packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Milestone
Description
Describe the bug
Password fields in custom Content Types are saved as clear text in the database. The default User type password field is working as expected.
Steps to reproduce the behavior
- Install a new strapi
- Create a new content type
- Add a password field and save the content type
- Add a new item in the content type list, and set a password.
Expected behavior
The database should have the password saved in an encrypted format. Instead we can read the password in clear text.
System
- Node.js version: 13.12.0
- NPM version: 6.4.14
- Strapi version: 3.0.0-beta.19.5
- Database: mysql, and sqlite
- Operating system: ubuntu
Additional context
Happens both when saving from the admin interface and when using the api calls in the bootstrap to generate the Content type.
Tansito, MartinMuzatko and ProjGoodF
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: core:strapiSource is core/strapi packageSource is core/strapi packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members