mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Typo
This commit is contained in:
parent
94214b867a
commit
6e1e90984f
@ -38,7 +38,7 @@ class DefaultAuthMiddleware extends AuthMiddleware
|
|||||||
if ($user !== null && password_verify($inputPassword, $user->password))
|
if ($user !== null && password_verify($inputPassword, $user->password))
|
||||||
{
|
{
|
||||||
$sessionKey = SessionService::getInstance()->CreateSession($user->id, $stayLoggedInPermanently);
|
$sessionKey = SessionService::getInstance()->CreateSession($user->id, $stayLoggedInPermanently);
|
||||||
parent::SetSessionCookie($sessionKey);
|
self::SetSessionCookie($sessionKey);
|
||||||
|
|
||||||
if (password_needs_rehash($user->password, PASSWORD_DEFAULT))
|
if (password_needs_rehash($user->password, PASSWORD_DEFAULT))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user