Initial Commit

This commit is contained in:
Frank John Begornia
2019-03-06 20:32:31 +08:00
commit 562f03488a
2123 changed files with 780991 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php namespace App\Http\Middleware;
use Closure;
class CheckTeamStorePassword {
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (!$request->session()->has('teamstore_data_array')) {
// user value cannot be found in session
// return redirect('/teamstore');
}
return $next($request);
}
}