Allow user to register with custom language
This commit is contained in:
parent
396f036b13
commit
e644f8dea5
7 changed files with 93 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue