Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function handle($request, Closure $next)
- {
- if(Session::has($this->configs['login_name']) && $this->generate_login_key == $this->sessionLoginAdminKey){
- return $next($request);
- }
- return Redirect::to('/panel');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement