Patch verwendung FHEM::Core::Authentication::Passwords #4

Merged
marko merged 11 commits from patch-newPasswordStore into devel 2021-04-23 06:13:47 +00:00
Showing only changes of commit 388c6f6a2f - Show all commits

View File

@ -58,7 +58,7 @@ use strict;
use warnings; use warnings;
use GPUtils qw(GP_Export); use GPUtils qw(GP_Export);
use HttpUtils; use HttpUtils;
use FHEM::Core::Password::Utils qw(:ALL); use FHEM::Core::Authentication::Passwords qw(:ALL);
use Data::Dumper; use Data::Dumper;
@ -200,7 +200,7 @@ sub Define {
qq(TeslaPowerwall2AC \(${name}\) - defined TeslaPowerwall2AC Device with Host ${host} and Interval $hash->{INTERVAL})); qq(TeslaPowerwall2AC \(${name}\) - defined TeslaPowerwall2AC Device with Host ${host} and Interval $hash->{INTERVAL}));
### create password object to handle pass keystore ### create password object to handle pass keystore
$hash->{helper}->{passObj} = FHEM::Core::Password::Utils->new(); $hash->{helper}->{passObj} = FHEM::Core::Authentication::Passwords->new();
if ( defined( ReadPassword( $hash, $name ) ) ) { if ( defined( ReadPassword( $hash, $name ) ) ) {
my ($passResp,$passErr); my ($passResp,$passErr);