mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 10:21:23 +01:00
fix a warning and a typo
This commit is contained in:
parent
e841be9b4f
commit
e26f1f5b4a
@ -584,7 +584,7 @@ class Session
|
|||||||
if ($check_2fa !== false)
|
if ($check_2fa !== false)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->checkMultifactorAuth($check_2fa, $_COOKIE[self::REMEMBER_ME_COOKIE]);
|
$this->checkMultifactorAuth($check_2fa, $_COOKIE[self::REMEMBER_ME_COOKIE] ?? null);
|
||||||
}
|
}
|
||||||
catch(\Exception $e) {
|
catch(\Exception $e) {
|
||||||
$this->cd_reason = $e->getCode();
|
$this->cd_reason = $e->getCode();
|
||||||
@ -758,7 +758,7 @@ class Session
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check multifcator authemtication
|
* Check multifcator authentication
|
||||||
*
|
*
|
||||||
* @param string $code 2fa-code
|
* @param string $code 2fa-code
|
||||||
* @param string $token remember me token
|
* @param string $token remember me token
|
||||||
|
Loading…
Reference in New Issue
Block a user