Croogo admin panel login issues after installation
I wanted to try out the current version of Croogo, so i downloaded the current (2012-01-29) version from Github.
During installation it seems that there is eveything fine, but i could not log into the admin panel.
The current installation script does save the default password without encryption.
I also posted it to the issue tracker at croogo.lighthouseapp.com for a quick fix.
You can also do it quickly by yourself doing the following:
go to
app/Plugin/Install/Controller/InstallController.php
find line 237 and replace
// set default password for admin
$User = ClassRegistry::init('User');
$User->id = $User->field('id', array('username' => 'admin'));
$User->saveField('password', 'password');
with this code
// set default password for admin
$user = array();
$this->User = ClassRegistry::init('User');
$user['id'] = $this->User->field('id', array('username' => 'admin'));
$user['password'] = 'password';
$this->User->save($user);
When you start the installation process again the beforeSave (where encryption happens) in the User model will be used correctly and the login into admin panel works fine.
Follow @fahad19 on twitter for more information about croogo development.


