Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit df1e592

Browse files
author
the-djmaze
committed
Bugfix: Undefined variable $aTokenData #1567
1 parent 429a0eb commit df1e592

File tree

1 file changed

+2
-2
lines changed
  • snappymail/v/0.0.0/app/libraries/RainLoop/Actions

1 file changed

+2
-2
lines changed

snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ private static function GetSignMeToken(): ?array
342342
$aResult = \SnappyMail\Crypt::DecryptUrlSafe($sSignMeToken, 'signme');
343343
if (isset($aResult['e'], $aResult['u']) && \SnappyMail\UUID::isValid($aResult['u'])) {
344344
if (!isset($aResult['c'])) {
345-
$aTokenData['c'] = \array_key_last($aTokenData);
346-
$aTokenData['d'] = \end($aTokenData);
345+
$aResult['c'] = \array_key_last($aResult);
346+
$aResult['d'] = \end($aResult);
347347
}
348348
return $aResult;
349349
}

0 commit comments

Comments
 (0)