summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-09-04 12:37:59 -0400
committerJames Moger <james.moger@gitblit.com>2014-09-04 12:37:59 -0400
commite4c6e723fc0f2c22ace4bad6a37f70d9a1990975 (patch)
tree8b30149b918c354eaff6af74717469a0be1f5c49 /src
parent549bc761063751b02947ab876b1f8740decd6821 (diff)
parent90c9c9a9af20de464767c7a5726ae7088c6cab3b (diff)
downloadgitblit-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.java3
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;