mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Move Authentication methods to class "Authentication"
This commit is contained in:
parent
5bb63e59e0
commit
18a3d18ba6
4 changed files with 219 additions and 220 deletions
|
@ -8,6 +8,7 @@ use Exception;
|
|||
use Friendica\App\Arguments;
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\App\Page;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\Core\Config\Cache\ConfigCache;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Core\Config\PConfiguration;
|
||||
|
@ -717,7 +718,7 @@ class App
|
|||
Model\Profile::openWebAuthInit($token);
|
||||
}
|
||||
|
||||
Login::sessionAuth();
|
||||
Authentication::sessionAuth();
|
||||
|
||||
if (empty($_SESSION['authenticated'])) {
|
||||
header('X-Account-Management-Status: none');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue