Active users must be confirmed

This commit is contained in:
Mark Felder 2021-01-19 16:39:55 -06:00
parent 3802718f80
commit e759579f97
1 changed files with 1 additions and 0 deletions

View File

@ -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