summaryrefslogtreecommitdiff
path: root/installer/web.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-17 07:03:40 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-17 07:03:40 +0000
commit82ccbba12401cefd9398f70fb2ad763025fa3919 (patch)
treef8a5aced7474c90ea4e74f2b07b873ffad493f47 /installer/web.php
parentae06ad3a414c9d112e5aae92118ad9d134c00056 (diff)
Move private key generation into the installer so that we're not
generating it lazily.
Diffstat (limited to 'installer/web.php')
-rw-r--r--installer/web.php2
1 files changed, 2 insertions, 0 deletions
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());
}