diff --git a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/SetAccountCommand.java b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/SetAccountCommand.java index 8b8e1d2616..a3e9d6ef23 100644 --- a/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/SetAccountCommand.java +++ b/gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/SetAccountCommand.java @@ -147,6 +147,7 @@ final class SetAccountCommand extends BaseCommand { if (fullName != null) { if (realm.allowsEdit(FieldName.FULL_NAME)) { account.setFullName(fullName); + accountUpdated = true; } else { throw new UnloggedFailure(1, "The realm doesn't allow editing names"); }