From cfee77dfe81bcdfde0fd9b1db8233ba0ad55f23e Mon Sep 17 00:00:00 2001 From: int2001 Date: Sun, 19 Jan 2025 16:42:59 +0000 Subject: [PATCH] Added Log-Message for that --- application/models/Logbook_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index cf814d76b..a800e7ace 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -953,6 +953,7 @@ class Logbook_model extends CI_Model { if (preg_match('/\bOK\b/', $response)) { $returner['status'] = 'OK'; } elseif (substr($response,0,14) == 'Login rejected') { // Deactivate Upload for Station if Clublog rejects it due to wrong credentials (prevent being blacklisted at Clublog) + log_message("Error","Clublog deactivated for ".$cl_username." because of wrong creds at Realtime-Pusher"); $sql = 'update station_profile set clublogignore = 1 where cl_username = ? and cl_password = ?'; $this->db->query($sql,array($cl_username,$cl_password)); } else {