Advertisement
gayanov

Untitled

Mar 18th, 2018
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1.     public function handle($request, Closure $next)
  2.     {
  3.         if(Session::has($this->configs['login_name']) && $this->generate_login_key == $this->sessionLoginAdminKey){
  4.             return $next($request);
  5.         }
  6.         return Redirect::to('/panel');
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement