mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_GoogleAuth.pm: under development
git-svn-id: https://svn.fhem.de/fhem/trunk@13077 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c08c4b0000
commit
6403027f81
@ -89,6 +89,7 @@ sub GoogleAuth_Get($$@) {
|
||||
Log3($hash,4,"googleAuth $name: possible: ".join ' ',@possible);
|
||||
|
||||
my $result = (grep /^$given_token$/, @possible) ? 1 : -1;
|
||||
readingsSingleUpdate($hash,'lastResult',$result,0);
|
||||
Log3($hash,4,"googleAuth $name: result: $result");
|
||||
return $result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user