mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 02:49:18 +00:00
Add :approval_pending to User @type account_status
This commit is contained in:
parent
e82060c472
commit
df3d1bf5e5
|
@ -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…
Reference in a new issue