Active users must be confirmed

This commit is contained in:
Mark Felder 2021-01-19 16:39:55 -06:00
parent 3802718f80
commit e759579f97

View 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