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>
Wed, 2 Dec 2020 12:39:29 +0000 (13:39 +0100)
lib/pleroma/user.ex

index 9222b5b2aaa22440d6fbe01831ed46dc43fd7594..4b3a9d690cd4566c8e1726f70b3a7225fc57b586 100644 (file)
@@ -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