User: Remove left-over (wrong) fix.
authorlain <lain@soykaf.club>
Wed, 2 Dec 2020 12:39:29 +0000 (13:39 +0100)
committerlain <lain@soykaf.club>
Tue, 22 Dec 2020 20:08:04 +0000 (21:08 +0100)
lib/pleroma/user.ex

index f6ab4f666b4dc677ee1cc61e636d2a2eb5583f24..0545b744581491346750f08b9cc2e0b4a412f33c 100644 (file)
@@ -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