diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-04 12:37:59 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-04 12:37:59 -0400 |
commit | e4c6e723fc0f2c22ace4bad6a37f70d9a1990975 (patch) | |
tree | 8b30149b918c354eaff6af74717469a0be1f5c49 /src | |
parent | 549bc761063751b02947ab876b1f8740decd6821 (diff) | |
parent | 90c9c9a9af20de464767c7a5726ae7088c6cab3b (diff) | |
download | gitblit-e4c6e723fc0f2c22ace4bad6a37f70d9a1990975.tar.gz gitblit-e4c6e723fc0f2c22ace4bad6a37f70d9a1990975.zip |
Merge branch 'ticket/147' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/gitblit/wicket/panels/RepositoryNamePanel.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/panels/RepositoryNamePanel.java b/src/main/java/com/gitblit/wicket/panels/RepositoryNamePanel.java index f381a45e..200c8dc7 100644 --- a/src/main/java/com/gitblit/wicket/panels/RepositoryNamePanel.java +++ b/src/main/java/com/gitblit/wicket/panels/RepositoryNamePanel.java @@ -56,6 +56,9 @@ public class RepositoryNamePanel extends BasePanel { GitBlitWebSession session = GitBlitWebSession.get();
UserModel user = session.getUser();
+ if (user == null) {
+ user = UserModel.ANONYMOUS;
+ }
// build project set for repository destination
String defaultPath = null;
|