Skip to content

Commit

Permalink
Merge pull request #541 from shinichi-takahashi/login
Browse files Browse the repository at this point in the history
初回インストールが必ず失敗する不具合の修正
  • Loading branch information
chihiro-adachi committed Jul 7, 2015
2 parents a211a08 + 9f35f06 commit 1cef8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eccube/Controller/Install/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ private function insert()
));

$sth = $this->PDO->prepare("INSERT INTO dtb_member (member_id, login_id, password, salt, work, del_flg, authority, creator_id, rank, update_date, create_date,name,department) VALUES (2, :login_id, :admin_pass , :salt , '1', '0', '0', '1', '1', current_timestamp, current_timestamp,'管理者','EC-CUBE SHOP');");
$sth->execute(array('login_id' => $this->session_data['login_id'], ':admin_pass' => $encodedPassword, ':salt' => $salt));
$sth->execute(array(':login_id' => $this->session_data['login_id'], ':admin_pass' => $encodedPassword, ':salt' => $salt));

$this->PDO->commit();

Expand Down

0 comments on commit 1cef8e2

Please sign in to comment.