1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

remove providerUid on session verification for anon login

This commit is contained in:
Torsten Dittmann 2021-03-29 12:29:18 +02:00
parent ceeb30fd4f
commit f5fa640e68

View file

@ -227,7 +227,6 @@ class Auth
if ($session->isSet('secret') &&
$session->isSet('expire') &&
$session->isSet('provider') &&
$session->isSet('providerUid') &&
$session->getAttribute('secret') === self::hash($secret) &&
$session->getAttribute('expire') >= \time()) {
return (string)$session->getId();