Closed Peppe closed 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.
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.