Upgrade to 3.4.4
This commit is contained in:
@@ -27,11 +27,6 @@ class User extends ModelWithContent
|
||||
use HasSiblings;
|
||||
use UserActions;
|
||||
|
||||
/**
|
||||
* @var File
|
||||
*/
|
||||
protected $avatar;
|
||||
|
||||
/**
|
||||
* @var UserBlueprint
|
||||
*/
|
||||
@@ -798,7 +793,7 @@ class User extends ModelWithContent
|
||||
*/
|
||||
protected function setName(string $name = null)
|
||||
{
|
||||
$this->name = $name !== null ? trim($name) : null;
|
||||
$this->name = $name !== null ? trim(strip_tags($name)) : null;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user