projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a32e13e
)
User: Remove left-over (wrong) fix.
author
lain
<lain@soykaf.club>
Wed, 2 Dec 2020 12:39:29 +0000
(13:39 +0100)
committer
lain
<lain@soykaf.club>
Tue, 22 Dec 2020 20:08:04 +0000
(21:08 +0100)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index f6ab4f666b4dc677ee1cc61e636d2a2eb5583f24..0545b744581491346750f08b9cc2e0b4a412f33c 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-461,7
+461,6
@@
defmodule Pleroma.User do
|> validate_format(:nickname, @email_regex)
|> validate_length(:bio, max: bio_limit)
|> validate_length(:name, max: name_limit)
- |> validate_inclusion(:local, [true])
|> validate_fields(true)
|> validate_non_local()
end