Skip to content

Commit

Permalink
Merge pull request #1106 from nanasess/fix-lfDoLogin
Browse files Browse the repository at this point in the history
削除済みメンバー名義でログインされる場合があるのを修正
  • Loading branch information
nanasess authored Dec 24, 2024
2 parents a248cbd + 3dc604c commit 23e9e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/class/pages/admin/LC_Page_Admin_Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function lfDoLogin($login_id)
// メンバー情報取得
$cols = 'member_id, authority, login_date, name';
$table = 'dtb_member';
$where = 'login_id = ?';
$where = 'login_id = ? AND del_flg <> 1 AND work = 1';
$arrData = $objQuery->getRow($cols, $table, $where, [$login_id]);
// セッション登録
$sid = $this->lfSetLoginSession($arrData['member_id'], $login_id, $arrData['authority'], $arrData['name'], $arrData['login_date']);
Expand Down

0 comments on commit 23e9e54

Please sign in to comment.