projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2223129
)
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>
Wed, 2 Dec 2020 12:39:29 +0000
(13:39 +0100)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 9222b5b2aaa22440d6fbe01831ed46dc43fd7594..4b3a9d690cd4566c8e1726f70b3a7225fc57b586 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-472,7
+472,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