From 4dd8e1dc637fa3a339501c7085ffa733dcce4cd0 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 30 Apr 2015 16:19:04 +0900 Subject: [PATCH] (refs #707)Exclude disabled users from completion list --- src/main/scala/gitbucket/core/controller/IndexController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/gitbucket/core/controller/IndexController.scala b/src/main/scala/gitbucket/core/controller/IndexController.scala index b8cf09c5c..deb3982b1 100644 --- a/src/main/scala/gitbucket/core/controller/IndexController.scala +++ b/src/main/scala/gitbucket/core/controller/IndexController.scala @@ -99,7 +99,7 @@ trait IndexControllerBase extends ControllerBase { get("/_user/proposals")(usersOnly { contentType = formats("json") org.json4s.jackson.Serialization.write( - Map("options" -> getAllUsers().filter(!_.isGroupAccount).map(_.userName).toArray) + Map("options" -> getAllUsers(false).filter(!_.isGroupAccount).map(_.userName).toArray) ) })