Browse Source

Add :approval_pending to User @type account_status

chore/update-floki-find-usage
Alex Gleason 4 years ago
parent
commit
df3d1bf5e5
No known key found for this signature in database GPG Key ID: 7211D1F99744FBB7
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      lib/pleroma/user.ex

+ 6
- 1
lib/pleroma/user.ex View 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


Loading…
Cancel
Save