Commit f90c2bae authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Remove the installed check, which is done in init.php now. Set autofocus to

'true', instead of the testing value.
parent 77a5317d
...@@ -30,11 +30,6 @@ define('MENUITEM', 'home'); ...@@ -30,11 +30,6 @@ define('MENUITEM', 'home');
require('init.php'); require('init.php');
// check to see if we're installed...
if (!get_config('installed')) {
redirect(get_config('wwwroot') . 'admin/index.php');
}
// Check for whether the user is logged in, before processing the page. After // Check for whether the user is logged in, before processing the page. After
// this, we can guarantee whether the user is logged in or not for this page. // this, we can guarantee whether the user is logged in or not for this page.
if (!$SESSION->is_logged_in()) { if (!$SESSION->is_logged_in()) {
...@@ -45,7 +40,7 @@ if (!$SESSION->is_logged_in()) { ...@@ -45,7 +40,7 @@ if (!$SESSION->is_logged_in()) {
'action' => '', 'action' => '',
'renderer' => 'div', 'renderer' => 'div',
'submit' => false, 'submit' => false,
'autofocus' => 'login_password', // only for testing for now 'autofocus' => true,
'elements' => array( 'elements' => array(
'login' => array( 'login' => array(
'type' => 'fieldset', 'type' => 'fieldset',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment