mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
Making a note that we should not use Actor as a singleton
This commit is contained in:
parent
a426fa6560
commit
db31d9f772
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user