mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Move Core\Session::get() to DI::session()->get()
This commit is contained in:
parent
99d5441007
commit
7ac86e49d1
15 changed files with 36 additions and 31 deletions
|
@ -106,7 +106,7 @@ class Verify extends BaseSettings
|
|||
parent::content();
|
||||
|
||||
$company = 'Friendica';
|
||||
$holder = Session::get('my_address');
|
||||
$holder = DI::session()->get('my_address');
|
||||
$secret = $this->pConfig->get(local_user(), '2fa', 'secret');
|
||||
|
||||
$otpauthUrl = (new Google2FA())->getQRCodeUrl($company, $holder, $secret);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue