mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 08:04:00 +00:00
74_Unifi.pm: Fixed SSL_verify_mode bug. (by Tompkin, Forum: #40287)
git-svn-id: https://svn.fhem.de/fhem/trunk@9800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
428761e14b
commit
2fb42bd630
@ -96,7 +96,7 @@ sub Unifi_Define($$) {
|
||||
noshutdown => 0,
|
||||
ignoreredirects => 1,
|
||||
loglevel => AttrVal($name,"httpLoglevel",5),
|
||||
sslargs => { SSL_verify_mode => 'SSL_VERIFY_NONE' },
|
||||
sslargs => { SSL_verify_mode => 0 },
|
||||
};
|
||||
if($hash->{unifi}->{version} == 3) {
|
||||
( $hash->{httpParams}->{loginUrl} = $hash->{unifi}->{url} ) =~ s/api\/s.+/login/;
|
||||
|
Loading…
x
Reference in New Issue
Block a user