src/com/gitblit/models/UserModel.java
@@ -36,6 +36,8 @@ private static final long serialVersionUID = 1L; public static final UserModel ANONYMOUS = new UserModel(); // field names are reflectively mapped in EditUser page public String username; public String password; @@ -56,6 +58,11 @@ this.isAuthenticated = true; } private UserModel() { this.username = "anonymous"; this.isAuthenticated = false; } /** * This method does not take into consideration Ownership where the * administrator has not explicitly granted access to the owner.