diff options
author | Camil Staps | 2016-08-01 11:46:29 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 11:46:29 +0200 |
commit | 0df155ce92219d7722a81dc7c8808660655d83bf (patch) | |
tree | 6b33d1c0aa67834a01d6d30e60ed391fe4ac0a35 /install/index.php | |
parent | Require paths (diff) |
Several fixes
Diffstat (limited to 'install/index.php')
-rw-r--r-- | install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php index d331f91..6844241 100644 --- a/install/index.php +++ b/install/index.php @@ -160,7 +160,7 @@ if (isset($_GET['create_folders'])) { if (isset($_GET['create_user'])) { $username = 'admin'; try { - $password = user::generateRandomPassword(); + $password = User::generateRandomPassword(); $user = User::create($_pdo, [$username, $password]); if ($user !== false) { echo "Created user '$username' ({$user->id}) with password '$password'."; |