summaryrefslogtreecommitdiff
path: root/modules/user/helpers/user_installer.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-12 15:53:39 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-12 15:53:39 +0000
commit2019e9a931ffde9b2358241aa1844b4a826a76f9 (patch)
treea28cbdc0eb4f323895b87c0cd3d6c714ad83fa9c /modules/user/helpers/user_installer.php
parent56dcb953b0b1fa9d47d6c1dd0f1f60a07ac98433 (diff)
Remove user_password class and move the functionality into the user helper class
Diffstat (limited to 'modules/user/helpers/user_installer.php')
-rw-r--r--modules/user/helpers/user_installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php
index 391915a3..77d10899 100644
--- a/modules/user/helpers/user_installer.php
+++ b/modules/user/helpers/user_installer.php
@@ -65,7 +65,7 @@ class user_installer {
$user_module->version = 1;
$user_module->save();
- $user = ORM::factory("user")->where("display_name", "admin")->find();
+ $user = ORM::factory("user")->where("name", "admin")->find();
$user->name = "admin";
$user->display_name = "Gallery Administrator";
$user->password = "admin";