fix(activeuser): user isactive & adress niveau & route all
This commit is contained in:
@ -283,7 +283,12 @@ class User implements UserInterface, LegacyPasswordAuthenticatedUserInterface
|
||||
|
||||
public function getDisplayname()
|
||||
{
|
||||
return $this->firstname.' '.$this->lastname;
|
||||
return $this->firstname.' '.$this->lastname.(!$this->isactive ? ' (inactif)' : '');
|
||||
}
|
||||
|
||||
public function getFullname()
|
||||
{
|
||||
return $this->username.' = '.$this->firstname.' '.$this->lastname.(!$this->isactive ? ' (inactif)' : '');
|
||||
}
|
||||
|
||||
// == FIN DU CODE A NE PAS REGENERER
|
||||
|
Reference in New Issue
Block a user