Active users must be confirmed
authorMark Felder <feld@feld.me>
Tue, 19 Jan 2021 22:39:55 +0000 (16:39 -0600)
committerMark Felder <feld@feld.me>
Tue, 19 Jan 2021 22:39:55 +0000 (16:39 -0600)
lib/pleroma/user/query.ex

index 74ef1158a3ac2db39e325b0ba2c33870125aa34b..4076925aaa1853a73ee5ce1680c1c1a8e3595786 100644 (file)
@@ -139,6 +139,7 @@ defmodule Pleroma.User.Query do
   defp compose_query({:active, _}, query) do
     User.restrict_deactivated(query)
     |> where([u], u.is_approved == true)
+    |> where([u], u.is_confirmed == true)
   end
 
   defp compose_query({:legacy_active, _}, query) do