mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 05:53:37 +08:00
Making a note that we should not use Actor as a singleton
This commit is contained in:
parent
e66a3721ee
commit
5de1a99816
@ -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