mirror of
https://github.com/flarum/core.git
synced 2025-10-18 10:16:09 +02:00
Implement user "bio" field
Perhaps this should be an extension, but it is pretty essential and I can’t think of many instances where it wouldn’t be wanted. Would be very easy to extract later on if need be.
This commit is contained in:
@@ -22,7 +22,7 @@ class UpdateAction extends BaseAction
|
||||
// second one failed, the first one would still have succeeded.)
|
||||
$command = new EditUserCommand($userId, $this->actor->getUser());
|
||||
$this->hydrate($command, $params->get('users'));
|
||||
$this->dispatch($command);
|
||||
$user = $this->dispatch($command, $params);
|
||||
|
||||
// Presumably, the user was updated successfully. (The command handler
|
||||
// would have thrown an exception if not.) We set this user as our
|
||||
|
Reference in New Issue
Block a user