Skip to content

Commit

Permalink
Merge branch 'master' into ARACHNE-126
Browse files Browse the repository at this point in the history
  • Loading branch information
konstjar authored Mar 1, 2025
2 parents 0d1ea0a + 581cfc6 commit 6c1bd25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private CredentialsEntity create(String password, User user) {
entity.setUser(user);
entity.setTimestamp(clock.instant());
entity.setType(CredentialsEntity.Type.BASIC);
entity.setData(password);
entity.setData(passwordEncoder.encode(password));
});
em.persist(credentials);
return credentials;
Expand Down

0 comments on commit 6c1bd25

Please sign in to comment.