mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Move include/security to /src/Core/Authentication.php and /src/Util/Security.php
This commit is contained in:
parent
cb4241af69
commit
e7f4dc8454
5 changed files with 16 additions and 13 deletions
|
@ -30,6 +30,7 @@ use Friendica\App;
|
|||
use Friendica\Content\Text\BBCode;
|
||||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Database\DBA;
|
||||
|
@ -471,8 +472,7 @@ function windowsphonepush_login(App $a)
|
|||
die('This api requires login');
|
||||
}
|
||||
|
||||
require_once 'include/security.php';
|
||||
authenticate_success($record);
|
||||
Authentication::success($record);
|
||||
$_SESSION["allow_api"] = true;
|
||||
Addon::callHooks('logged_in', $a->user);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue