diff --git a/fhem/CHANGED b/fhem/CHANGED index 81c9c3936..e944df7f1 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - change: 70_ZoneMinder: fixed authentication for 1.34.x, API 2.0 - feature: 98_weekprofile: custom temperature keywords - change: 72_TA_CMI_JSON: introduced module package - bugfix: 73_ElectricityCalculator: Use Time::Local added for compatibility diff --git a/fhem/FHEM/70_ZoneMinder.pm b/fhem/FHEM/70_ZoneMinder.pm index 3fac34976..4ea73928d 100755 --- a/fhem/FHEM/70_ZoneMinder.pm +++ b/fhem/FHEM/70_ZoneMinder.pm @@ -219,7 +219,7 @@ sub ZoneMinder_Get_API_Login_URL { $result = "$zmWebUrl/index.php?username=$username&password=$password&action=login&view=console"; } elsif ( $apiVersion eq 'post132' ) { my $zmApiUrl = ZoneMinder_getZmApiUrl($hash); - $result = "$zmApiUrl/host/login.json?user=$username&pass=$password"; + $result = "$zmApiUrl/host/login.json?user=$username&pass=$password&stateful=1"; } return $result;