1
0
Fork 0

Move Core\Session::set() to DI::session()->set()

This commit is contained in:
Philipp Holzer 2022-10-18 21:12:23 +02:00
commit 3a8bcb3fbf
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
7 changed files with 7 additions and 12 deletions

View file

@ -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.'));