2
0
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:
betateilchen 2017-01-15 00:36:58 +00:00
parent c08c4b0000
commit 6403027f81

View File

@ -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;
}