mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 18:49:15 +00:00
Allow update_credentials to update User.language
This commit is contained in:
parent
7726148472
commit
1b77308644
|
@ -217,6 +217,7 @@ def update_credentials(%{assigns: %{user: user}, body_params: params} = conn, _p
|
|||
|> Maps.put_if_present(:is_locked, params[:locked])
|
||||
# Note: param name is indeed :discoverable (not an error)
|
||||
|> Maps.put_if_present(:is_discoverable, params[:discoverable])
|
||||
|> Maps.put_if_present(:language, params[:language])
|
||||
|
||||
# What happens here:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue