Add :approval_pending to User @type account_status
authorAlex Gleason <alex@alexgleason.me>
Tue, 14 Jul 2020 23:48:17 +0000 (18:48 -0500)
committerAlex Gleason <alex@alexgleason.me>
Tue, 14 Jul 2020 23:56:36 +0000 (18:56 -0500)
lib/pleroma/user.ex

index 439c2c9b652ac6453775d514d0aea67fa295a19c..9c3b46ae8b7aa328287419e290b486292d69157d 100644 (file)
@@ -42,7 +42,12 @@ defmodule Pleroma.User do
   require Logger
 
   @type t :: %__MODULE__{}
-  @type account_status :: :active | :deactivated | :password_reset_pending | :confirmation_pending
+  @type account_status ::
+          :active
+          | :deactivated
+          | :password_reset_pending
+          | :confirmation_pending
+          | :approval_pending
   @primary_key {:id, FlakeId.Ecto.CompatType, autogenerate: true}
 
   # credo:disable-for-next-line Credo.Check.Readability.MaxLineLength