HamQTH - Correctly handle session key resets
这个提交包含在:
父节点
522ab44cd5
当前提交
5dbe8b238c
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -4628,7 +4628,7 @@ class Logbook_model extends CI_Model
|
|||
|
||||
// If HamQTH session has expired, start a new session and retry the search.
|
||||
if ($callbook['error'] == "Session does not exist or expired") {
|
||||
$hamqth_session_key = $this->hamqth->session($this->config->item('hamqth_username'), $this->config->item('hamqth_password'));
|
||||
$hamqth_session_key = $this->hamqth->session($this->session->userdata('callbook_username'), $decrypted_password);
|
||||
$this->session->set_userdata('hamqth_session_key', $hamqth_session_key);
|
||||
$callbook = $this->hamqth->search($callsign, $this->session->userdata('hamqth_session_key'));
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用