diff options
author | James Moger <james.moger@gitblit.com> | 2013-07-02 14:49:06 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-07-02 14:49:06 -0400 |
commit | b5798e1e6cf15da4eb33647190e127b53410c620 (patch) | |
tree | 5417cb5784d0a1dbecc5b3602be5b2ccdd2fe231 /src/main/java/com/gitblit/utils/RefLogUtils.java | |
parent | aa7d215a9a174428f4f76244b932797d9b87b910 (diff) | |
download | gitblit-b5798e1e6cf15da4eb33647190e127b53410c620.tar.gz gitblit-b5798e1e6cf15da4eb33647190e127b53410c620.zip |
Improvements to handling internal accounts (anonymous, federation user)
Diffstat (limited to 'src/main/java/com/gitblit/utils/RefLogUtils.java')
-rw-r--r-- | src/main/java/com/gitblit/utils/RefLogUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/utils/RefLogUtils.java b/src/main/java/com/gitblit/utils/RefLogUtils.java index fed55cab..643fbc0f 100644 --- a/src/main/java/com/gitblit/utils/RefLogUtils.java +++ b/src/main/java/com/gitblit/utils/RefLogUtils.java @@ -184,7 +184,7 @@ public class RefLogUtils { PersonIdent ident; if (UserModel.ANONYMOUS.equals(user)) { // anonymous push - ident = new PersonIdent("anonymous", "anonymous"); + ident = new PersonIdent(user.username + "/" + user.username, user.username); } else { // construct real pushing account ident = new PersonIdent(MessageFormat.format("{0}/{1}", user.getDisplayName(), user.username), |