From 82ccbba12401cefd9398f70fb2ad763025fa3919 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 17 Feb 2009 07:03:40 +0000 Subject: Move private key generation into the installer so that we're not generating it lazily. --- installer/web.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'installer/web.php') diff --git a/installer/web.php b/installer/web.php index cfae7a33..47d60a34 100644 --- a/installer/web.php +++ b/installer/web.php @@ -55,6 +55,8 @@ if (installer::already_installed()) { try { list ($user, $password) = installer::create_admin($config); $content = render("success.html.php", array("user" => $user, "password" => $password)); + + installer::create_private_key(); } catch (Exception $e) { $content = oops($e->getMessage()); } -- cgit v1.2.3