Merge branch 'dev'
This commit is contained in:
commit
2fc2a94943
|
|
@ -26,7 +26,9 @@ class CheckOctoberSession
|
|||
|
||||
// For Birzha User's session
|
||||
try{
|
||||
if(env('APP_ENV') == 'production') {
|
||||
if(env('APP_ENV') == 'production'
|
||||
&& isset(preg_split("/[\s\[\]\",]+/", \Cookie::get('user_auth'))[1])) {
|
||||
|
||||
$userId = preg_split("/[\s\[\]\",]+/", \Cookie::get('user_auth'))[1];
|
||||
|
||||
$user = BirzhaUser::find($userId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue