mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
32_withings: fixed login params
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21235 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ac7336f94f
commit
c360ed2945
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user