mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Use language setting of users when logging in.
This commit is contained in:
parent
0dd20394cb
commit
0bfcec77fb
9 changed files with 97 additions and 8 deletions
|
@ -141,7 +141,7 @@ class User extends NamedDBElement implements UserInterface, HasPermissionsInterf
|
|||
/**
|
||||
* @var string|null The language/locale the user prefers
|
||||
* @ORM\Column(type="string", name="config_language", nullable=true)
|
||||
* @Assert\Locale(canonicalize=true)
|
||||
* @Assert\Language()
|
||||
*/
|
||||
protected $language = '';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue