Active users must be confirmed
This commit is contained in:
parent
3802718f80
commit
e759579f97
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue