public function login()
    {
        if(Sentry::check()){
            Response::redirect($this->siteUrl('admin'));
        }else{
            $this->data['redirect'] = (Input::get('redirect')) ? base64_decode(Input::get('redirect')) : '';
            View::display('admin/login.twig', $this->data);
        }
    }
public function login()
    {
        if(Sentry::check()){
            Response::redirect($this->siteUrl('admin'));
        }else{
            $this->data['redirect'] = (Input::get('redirect')) ? base64_decode(Input::get('redirect')) : '';
            View::display('admin/login.twig', $this->data);
        }
    }
public function login ( ) { if ( Sentry :: check ( ) ) { Response :: redirect ( $ this -> siteUrl ( 'admin' ) ) ; } else { $ this -> data [ 'redirect' ] = ( Input :: get ( 'redirect' ) ) ? base64_decode ( Input :: get ( 'redirect' ) ) : '' ; View :: display ( 'admin/login.twig' , $ this -> data ) ; } }
display the login form
display the login form