[CONTROLLER][UserPanel] Use only the ActorTags in the settings
This commit is contained in:
parent
3fbd2cd2b9
commit
a3e5f7646c
@ -98,7 +98,8 @@ class UserPanel extends Controller
|
||||
{
|
||||
$user = Common::ensureLoggedIn();
|
||||
$actor = $user->getActor();
|
||||
$extra = ['self_tags' => $actor->getSelfTags()];
|
||||
[$_, $actor_tags] = $actor->getSelfTags();
|
||||
$extra = ['self_tags' => $actor_tags];
|
||||
$form_definition = [
|
||||
['nickname', TextType::class, ['label' => _m('Nickname'), 'required' => true, 'help' => _m('1-64 lowercase letters or numbers, no punctuation or spaces.')]],
|
||||
['full_name', TextType::class, ['label' => _m('Full Name'), 'required' => false, 'help' => _m('A full name is required, if empty it will be set to your nickname.')]],
|
||||
|
Loading…
Reference in New Issue
Block a user