forked from Archives/Athou_commafeed
renamed variable for clarity
This commit is contained in:
@@ -302,8 +302,8 @@ public class UserREST {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String passwd = RandomStringUtils.randomAlphanumeric(10);
|
String passwd = RandomStringUtils.randomAlphanumeric(10);
|
||||||
byte[] password = encryptionService.getEncryptedPassword(passwd, user.getSalt());
|
byte[] encryptedPassword = encryptionService.getEncryptedPassword(passwd, user.getSalt());
|
||||||
user.setPassword(password);
|
user.setPassword(encryptedPassword);
|
||||||
if (StringUtils.isNotBlank(user.getApiKey())) {
|
if (StringUtils.isNotBlank(user.getApiKey())) {
|
||||||
user.setApiKey(userService.generateApiKey(user));
|
user.setApiKey(userService.generateApiKey(user));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user