bossenti commented on code in PR #2665:
URL: https://github.com/apache/streampipes/pull/2665#discussion_r1542782700
##########
streampipes-user-management/src/main/java/org/apache/streampipes/user/management/service/TokenService.java:
##########
@@ -28,9 +28,8 @@ public class TokenService {
public RawUserApiToken createAndStoreNewToken(String email,
RawUserApiToken baseToken) {
UserAccount user = getUserStorage().getUserAccount(email);
- RawUserApiToken generatedToken =
TokenUtil.createToken(baseToken.getTokenName());
+ RawUserApiToken generatedToken =
TokenUtil.createToken(baseToken.tokenName());
storeToken(user, generatedToken);
- generatedToken.setHashedToken("");
Review Comment:
Did we do this for a certain reason? From my point of view, it just does not
make sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]