mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Bugfix: Undefined variable $aTokenData #1567
This commit is contained in:
@@ -342,8 +342,8 @@ trait UserAuth
|
||||
$aResult = \SnappyMail\Crypt::DecryptUrlSafe($sSignMeToken, 'signme');
|
||||
if (isset($aResult['e'], $aResult['u']) && \SnappyMail\UUID::isValid($aResult['u'])) {
|
||||
if (!isset($aResult['c'])) {
|
||||
$aTokenData['c'] = \array_key_last($aTokenData);
|
||||
$aTokenData['d'] = \end($aTokenData);
|
||||
$aResult['c'] = \array_key_last($aResult);
|
||||
$aResult['d'] = \end($aResult);
|
||||
}
|
||||
return $aResult;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user