Commit e759579f authored by feld's avatar feld
Browse files

Active users must be confirmed

parent 3802718f
Pipeline #34253 passed with stages
in 9 minutes and 51 seconds
......@@ -139,6 +139,7 @@ defp compose_query({:external, _}, query), do: location_query(query, false)
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment