|
@@ -19,7 +19,7 @@ class ProAuthenticated
|
|
|
$sessionKey = $request->cookie('sessionKey');
|
|
|
$appSession = AppSession::where('session_key', $sessionKey)->where('is_active', true)->first();
|
|
|
$authenticated = $sessionKey && $appSession;
|
|
|
-
|
|
|
+ //TODO: confirm app_access
|
|
|
if (!$authenticated) {
|
|
|
$authUrl = config('stag.authUrl');
|
|
|
if(!$authUrl){
|