projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e82060c
)
Add :approval_pending to User @type account_status
author
Alex Gleason
<alex@alexgleason.me>
Tue, 14 Jul 2020 23:48:17 +0000
(18:48 -0500)
committer
Alex Gleason
<alex@alexgleason.me>
Tue, 14 Jul 2020 23:56:36 +0000
(18:56 -0500)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 439c2c9b652ac6453775d514d0aea67fa295a19c..9c3b46ae8b7aa328287419e290b486292d69157d 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-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