Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
298
Merge Requests
42
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Compare Revisions
3de850e7613264707f796f853e0e822a873c05fb...1f14506edd3834eda35622bd8861038a61b28364
Source
1f14506edd3834eda35622bd8861038a61b28364
...
Target
3de850e7613264707f796f853e0e822a873c05fb
Compare
Commits (2)
(chore): Remove unused things
· f74f5014
Emiliano Balbuena
authored
14 minutes ago
f74f5014
(fix): 500 when no Session
· 1f14506e
Emiliano Balbuena
authored
10 minutes ago
1f14506e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
Core/SSO/Manager.php
View file @
1f14506e
...
...
@@ -7,7 +7,6 @@
namespace
Minds\Core\SSO
;
use
Exception
;
use
Lcobucci\JWT\Token
as
JwtToken
;
use
Minds\Common\Jwt
;
use
Minds\Core\Config
;
use
Minds\Core\Data\cache\abstractCacher
;
...
...
@@ -19,9 +18,6 @@ class Manager
/** @var int */
const
JTW_EXPIRE
=
300
;
/** @var string */
const
SESSION_COOKIE
=
'minds_sess'
;
/** @var Config */
protected
$config
;
...
...
@@ -93,7 +89,7 @@ class Manager
$now
=
time
();
$session
=
$this
->
sessions
->
getSession
();
if
(
!
$session
->
getUserGuid
())
{
if
(
!
$session
||
!
$session
->
getUserGuid
())
{
return
null
;
}
...
...
This diff is collapsed.