Skip to content

Commit aa47870

Browse files
committed
Try to fix weird session issue
1 parent 7be15f3 commit aa47870

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

backend/app/Models/User.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,14 @@ public function getGameHighestOrder(int $gameId, bool $useEagerLoaded=false)
944944

945945
}
946946

947+
public function getRememberToken()
948+
{
949+
if (! empty($this->getRememberTokenName())) {
950+
return (string) $this->{$this->getRememberTokenName()};
951+
}
952+
return '';
953+
}
954+
947955
/**
948956
* Returns whether or not the user can be banned by the "other" user.
949957
* The other user defaults to the currently authenticated user

0 commit comments

Comments
 (0)