mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Making a note that we should not use Actor as a singleton
This commit is contained in:
@@ -10,6 +10,8 @@ class LoginWithHeader
|
||||
|
||||
protected $prefix = 'Token ';
|
||||
|
||||
// @todo rather than using a singleton, we should have our own HTTP
|
||||
// Request class and store the actor on that? somehow?
|
||||
public function __construct(Actor $actor)
|
||||
{
|
||||
$this->actor = $actor;
|
||||
|
Reference in New Issue
Block a user