Fixed a bug in the log in process which led to redirecting to installation.
Dieser Commit ist enthalten in:
Ursprung
0fad2875f6
Commit
87f951530e
4 geänderte Dateien mit 31 neuen und 28 gelöschten Zeilen
|
|
@ -204,8 +204,7 @@ class InstallController extends Msd_Controller_Action
|
|||
$form->getElement('pass_confirm')->getValidator('Identical')->setToken($postData['pass']);
|
||||
if ($form->isValid($postData)) {
|
||||
$ini = new Msd_Ini();
|
||||
$ini->set('name', $postData['user'], 'user');
|
||||
$ini->set('pass', md5($postData['pass']), 'user');
|
||||
$ini->set('user[\'' . $postData['user'] . '\']', md5($postData['pass']), 'users');
|
||||
$ini->saveFile(APPLICATION_PATH . '/configs/users.ini');
|
||||
$redirectUrl = $this->view->url(array('controller' => 'install', 'action' => 'step4'), null, true);
|
||||
$this->_response->setRedirect($redirectUrl);
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren