summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/client/GitblitClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/client/GitblitClient.java')
-rw-r--r--src/main/java/com/gitblit/client/GitblitClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/client/GitblitClient.java b/src/main/java/com/gitblit/client/GitblitClient.java
index cc7d58a6..427f45ba 100644
--- a/src/main/java/com/gitblit/client/GitblitClient.java
+++ b/src/main/java/com/gitblit/client/GitblitClient.java
@@ -193,7 +193,7 @@ public class GitblitClient implements Serializable {
}
public AccessRestrictionType getDefaultAccessRestriction() {
- String restriction = null;
+ String restriction = "PUSH";
if (settings.hasKey(Keys.git.defaultAccessRestriction)) {
restriction = settings.get(Keys.git.defaultAccessRestriction).currentValue;
}