mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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)
|
||||
{
|
||||
try {
|
||||
$this->checkMultifactorAuth($check_2fa, $_COOKIE[self::REMEMBER_ME_COOKIE]);
|
||||
$this->checkMultifactorAuth($check_2fa, $_COOKIE[self::REMEMBER_ME_COOKIE] ?? null);
|
||||
}
|
||||
catch(\Exception $e) {
|
||||
$this->cd_reason = $e->getCode();
|
||||
@ -758,7 +758,7 @@ class Session
|
||||
}
|
||||
|
||||
/**
|
||||
* Check multifcator authemtication
|
||||
* Check multifcator authentication
|
||||
*
|
||||
* @param string $code 2fa-code
|
||||
* @param string $token remember me token
|
||||
|
Loading…
Reference in New Issue
Block a user