mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-27 00:36:44 +03:00
Bugfix: Undefined variable $aTokenData #1567
This commit is contained in:
parent
429a0eb4e0
commit
df1e5926df
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue