[Contesting} Set userdata radio when logging

This commit is contained in:
Andreas Kristiansen
2024-07-17 18:24:44 +02:00
parent ffb112ded2
commit a232db3c98

View File

@@ -71,6 +71,8 @@ class Contesting extends CI_Controller {
public function setSession() {
$this->load->model('Contesting_model');
$this->Contesting_model->setSession();
$this->session->set_userdata('radio', $this->input->post('radio'));
header('Content-Type: application/json');
echo json_encode($this->Contesting_model->getSession());
}