vaadin / bakery-app-starter-fw8-spring

Internal repository for Bakery App Starter for FW8 and Spring
Other
0 stars 2 forks source link

Rename "password" to "passwordHash" #491

Closed Peppe closed 6 years ago

Peppe commented 6 years ago

Right now https://github.com/vaadin/bakery-app-starter-fw8-spring/blob/master/src/main/java/com/vaadin/starter/bakery/backend/data/entity/User.java looks like we are storing passwords in plain text. This is not the case, as we are hashing the password and storing that. Storing plain passwords is a big red flag for many, so we should make it more explicit that we are actually storing hashes. Rename "password" to "passwordHash" to make this more clear.