Allow user to register with custom language

This commit is contained in:
Tusooa Zhu 2022-03-02 01:41:13 -05:00
commit e644f8dea5
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
7 changed files with 93 additions and 3 deletions

View file

@ -747,7 +747,8 @@ defmodule Pleroma.User do
:emoji,
:accepts_chat_messages,
:registration_reason,
:birthday
:birthday,
:language
])
|> validate_required([:name, :nickname, :password, :password_confirmation])
|> validate_confirmation(:password)