From d2f9609b8fcc217f42250c2f1169478ee65db1a2 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Tue, 24 Jan 2017 13:43:25 +0000 Subject: [PATCH] 96_allowed.pm: fix crash for basicAuthExpiry (Forum #65629) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13219 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/96_allowed.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FHEM/96_allowed.pm b/FHEM/96_allowed.pm index a9c9cc173..aa3e5d96c 100755 --- a/FHEM/96_allowed.pm +++ b/FHEM/96_allowed.pm @@ -129,11 +129,11 @@ allowed_Authenticate($$$$) # generate timestamp according to RFC-1130 in Expires my $expires = FmtDateTimeRFC1123($time); - readigsBeginUpdate($me); + readingsBeginUpdate($me); readingsBulkUpdate($me,'lastAuthUser', $user, 1); readingsBulkUpdate($me,'lastAuthExpires', $time, 1); readingsBulkUpdate($me,'lastAuthExpiresFmt', $expires, 1); - readigsEndUpdate($me, 1); + readingsEndUpdate($me, 1); # set header with expiry $cl->{".httpAuthHeader"} = "Set-Cookie: AuthToken=".$secret.