Nawress Brigui
Nawress Brigui

Reputation: 1

Unable to get the current password in Jhipster for user entity

I am working on jhipster.

I am unable to get the current password in jhipster and Spring.

The user class I get it doesn't have a password attribute.

Upvotes: 0

Views: 320

Answers (1)

Gaël Marziou
Gaël Marziou

Reputation: 16294

There's no way to read passwords in client as they are hashed on server, this is done this way for security reasons. In client you can only submit a new password or send the old one for being hashed and compared with the hash of the one stored in database.

Upvotes: 3

Related Questions