This commit is contained in:
2022-05-07 12:10:54 -04:00
parent 966c611e0e
commit 766f034ac4
2 changed files with 55 additions and 1 deletions
+4 -1
View File
@@ -85,7 +85,10 @@ class Login extends WRB_Controller {
$this->refreshAccountDetail($_SESSION['member_id']);
$this->getSessionArray();
$this->excudedEmails();
redirect('dash');
$this->load->model('autopref_model');
$prefArray = $this->autopref_model->afterLoginPage();
redirect($prefArray['returnPage']);
}
} else {
$data["login_message"] = "Invalid username or password";