From c360ed2945197582a17e889c34def63a1159470d Mon Sep 17 00:00:00 2001 From: moises <> Date: Thu, 20 Feb 2020 08:03:47 +0000 Subject: [PATCH] 32_withings: fixed login params git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21235 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/32_withings.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FHEM/32_withings.pm b/FHEM/32_withings.pm index cf656e647..c1b7e25c2 100644 --- a/FHEM/32_withings.pm +++ b/FHEM/32_withings.pm @@ -1,4 +1,4 @@ -############################################################################## +############################################################################## # $Id$ # # 32_withings.pm @@ -755,11 +755,11 @@ sub withings_getSessionKey($) { # } my $datahash = { - url => $hash->{'.https'}."://account.withings.com/connectionwou/account_login?r=https://healthmate.withings.com/", + url => "https://account.withings.com/connectionwou/account_login?r=https://healthmate.withings.com/", timeout => 10, noshutdown => 1, ignoreredirects => 1, - data => { email=> withings_decrypt($hash->{helper}{username}), password => withings_decrypt($hash->{helper}{password}), is_admin => 'f' }, + data => { email=> withings_decrypt($hash->{helper}{username}), password => withings_decrypt($hash->{helper}{password}), is_admin => 'f', use_2fa => '' }, }; my($err,$data) = HttpUtils_BlockingGet($datahash);