Merge branch 'feat/openapi-spec-export' into 'develop'
[akkoma] / lib / mix / tasks / pleroma / email.ex
index 9972cb9880d590acb293903a595a346e93e9ac8b..e05c207e50c8e15494f15c672fa5b5fc4981efb1 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Mix.Tasks.Pleroma.Email do
   use Mix.Task
   import Mix.Pleroma
@@ -29,8 +33,8 @@ defmodule Mix.Tasks.Pleroma.Email do
 
     Pleroma.User.Query.build(%{
       local: true,
-      deactivated: false,
-      confirmation_pending: true,
+      is_active: true,
+      is_confirmed: false,
       invisible: false
     })
     |> Pleroma.Repo.chunk_stream(500)