mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Move Cookie to own class (with tests)
Move Authentication to App namespace
This commit is contained in:
parent
c45b6d309b
commit
54392fab81
16 changed files with 393 additions and 112 deletions
|
@ -8,7 +8,7 @@ use Exception;
|
|||
use Friendica\App\Arguments;
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\App\Page;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\App\Authentication;
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\PConfiguration;
|
||||
|
@ -720,7 +720,7 @@ class App
|
|||
Model\Profile::openWebAuthInit($token);
|
||||
}
|
||||
|
||||
$auth->withSession($this, $_COOKIE);
|
||||
$auth->withSession($this);
|
||||
|
||||
if (empty($_SESSION['authenticated'])) {
|
||||
header('X-Account-Management-Status: none');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue