remove function user doesn't have

This commit is contained in:
FloatingGhost 2022-07-24 17:56:31 +01:00
parent 08fab079b7
commit 0f950260c5

View file

@ -38,7 +38,6 @@ defmodule Pleroma.Web.Auth.LDAPAuthenticator do
])
|> validate_required([:name, :nickname])
|> unique_constraint(:nickname)
|> User.validate_not_restricted_nickname(:nickname)
|> validate_format(:nickname, User.local_nickname_regex())
|> User.put_ap_id()
|> unique_constraint(:ap_id)