mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Move Core\Session::set() to DI::session()->set()
This commit is contained in:
parent
dfb5792773
commit
3a8bcb3fbf
7 changed files with 7 additions and 12 deletions
|
@ -86,7 +86,7 @@ class Verify extends BaseSettings
|
|||
|
||||
if ($valid) {
|
||||
$this->pConfig->set(local_user(), '2fa', 'verified', true);
|
||||
Session::set('2fa', true);
|
||||
DI::session()->set('2fa', true);
|
||||
|
||||
DI::sysmsg()->addInfo($this->t('Two-factor authentication successfully activated.'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue