* Install: create admin account: ask for e-mail + character name

This commit is contained in:
slawkens
2019-04-19 23:56:36 +02:00
parent 162777bb46
commit 0252006eb1
7 changed files with 73 additions and 22 deletions

View File

@@ -9,11 +9,16 @@ if(!$error) {
error($database_error);
}
$account = 'account';
if(!USE_ACCOUNT_NAME) {
$account = 'account_id';
}
$twig->display('install.admin.html.twig', array(
'locale' => $locale,
'session' => $_SESSION,
'account' => $account,
'errors' => isset($errors) ? $errors : null,
'buttons' => next_buttons(true, $error ? false : true)
));
}
?>