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');
// 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
// this, we can guarantee whether the user is logged in or not for this page.
if (!$SESSION->is_logged_in()) {
......@@ -45,7 +40,7 @@ if (!$SESSION->is_logged_in()) {
'action' => '',
'renderer' => 'div',
'submit' => false,
'autofocus' => 'login_password', // only for testing for now
'autofocus' => true,
'elements' => array(
'login' => array(
'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