Permalink
Browse files

Better formatting of login page

  • Loading branch information...
1 parent 8d4bc50 commit 359a874c337f59a86f8c5815c8977d9f102fa37a @romaninsh romaninsh committed Mar 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/BasicAuth.php
View
@@ -313,12 +313,12 @@ function showLoginForm(){
$this->debug("initializating authentication page");
//if(!$_GET['page'])$this->api->page=$this->api->getConfig('auth/login_page','Index');
- $p=$this->add('Page');
+ $p=$this->add('Page',null,null,array('empty'));
try{
$p->template->loadTemplate('login');
$this->form=$this->createForm($p,'Login');
}catch(PathFinder_Exception $e){
- $p->template->loadTemplate('empty');
+ //$p->template->loadTemplate('empty');
/*
$p->template->trySet('atk_path',$q=
$this->api->pathfinder->atk_location->getURL().'/');

0 comments on commit 359a874

Please sign in to comment.