mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-04 08:18:04 +02:00
fix translations
This commit is contained in:
@@ -244,7 +244,7 @@ public class UserResource {
|
||||
))
|
||||
@ApiResponse(responseCode = "500", description = "internal server error")
|
||||
public Response toExternal(@PathParam("id") String name) {
|
||||
userManager.overwritePassword(name, passwordService.encryptPassword(null));
|
||||
userManager.overwritePassword(name, null);
|
||||
UserDto dto = userToDtoMapper.map(userManager.get(name));
|
||||
dto.setExternal(true);
|
||||
adapter.update(name, existing -> dtoToUserMapper.map(dto, existing.getPassword()));
|
||||
|
||||
Reference in New Issue
Block a user