projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3802718
)
Active users must be confirmed
author
Mark Felder
<feld@feld.me>
Tue, 19 Jan 2021 22:39:55 +0000
(16:39 -0600)
committer
Mark Felder
<feld@feld.me>
Tue, 19 Jan 2021 22:39:55 +0000
(16:39 -0600)
lib/pleroma/user/query.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user/query.ex
b/lib/pleroma/user/query.ex
index 74ef1158a3ac2db39e325b0ba2c33870125aa34b..4076925aaa1853a73ee5ce1680c1c1a8e3595786 100644
(file)
--- a/
lib/pleroma/user/query.ex
+++ b/
lib/pleroma/user/query.ex
@@
-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