From db31d9f77274138ba8ff7e8297098ccc1cae6142 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 2 May 2015 08:57:14 +0930 Subject: [PATCH] Making a note that we should not use Actor as a singleton --- src/Api/Middleware/LoginWithHeader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Api/Middleware/LoginWithHeader.php b/src/Api/Middleware/LoginWithHeader.php index d3384b1ab..8f2a3f4d9 100644 --- a/src/Api/Middleware/LoginWithHeader.php +++ b/src/Api/Middleware/LoginWithHeader.php @@ -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;