mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
lib/FHEM/Core/Authentication/Passwords.pm: change double quotes syntax
git-svn-id: https://svn.fhem.de/fhem/trunk@24313 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5f30363026
commit
41388bbe4b
@ -72,7 +72,7 @@ sub new {
|
||||
sub setStorePassword {
|
||||
my $self = shift;
|
||||
my $name = shift;
|
||||
my $password = shift // return(undef,q{no password given});
|
||||
my $password = shift // return(undef,q(no password given));
|
||||
|
||||
my $index = $self->{TYPE} . '_' . $name . '_passkey';
|
||||
my ($x,$y) = ::gettimeofday();
|
||||
@ -122,14 +122,14 @@ sub getReadPassword {
|
||||
my $index = $self->{TYPE} . '_' . $name . '_passkey';
|
||||
my ( $password, $err, $salt );
|
||||
|
||||
::Log3($name, 4, qq{password Keystore handle for Device ($name) - Read password from file});
|
||||
::Log3($name, 4, qq(password Keystore handle for Device ($name) - Read password from file));
|
||||
|
||||
( $err, $password ) = ::getKeyValue($index);
|
||||
|
||||
if ( defined($err) ) {
|
||||
|
||||
::Log3($name, 1,
|
||||
qq{password Keystore handle for Device ($name) - unable to read password from file: $err});
|
||||
qq(password Keystore handle for Device ($name) - unable to read password from file: $err));
|
||||
|
||||
return undef;
|
||||
}
|
||||
@ -161,7 +161,7 @@ qq{password Keystore handle for Device ($name) - unable to read password from fi
|
||||
}
|
||||
else {
|
||||
|
||||
::Log3($name, 1, qq{password Keystore handle for Device ($name) - No password in file});
|
||||
::Log3($name, 1, qq(password Keystore handle for Device ($name) - No password in file));
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user