From d695788aba82589409a4a3013a82fde5baa5c4ad Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Sun, 20 Aug 2017 19:11:04 +0000 Subject: [PATCH] 49_SSCam: V2.7.0, set maximum password lenth to 20 git-svn-id: https://svn.fhem.de/fhem/trunk@14935 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/49_SSCam.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index cc3b8f992..20e61bc0f 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -202,7 +202,7 @@ my %SSCam_errauthlist = ( 402 => "Permission denied - DSM-Session: make sure user is member of Admin-group, SVS-Session: make sure SVS package is started, make sure FHEM-Server IP won't be blocked in DSM automated blocking list", 403 => "One time password not specified", 404 => "One time password authenticate failed", - 405 => "method not allowd", + 405 => "method not allowd - maybe the password is too long", 407 => "Permission denied - make sure FHEM-Server IP won't be blocked in DSM automated blocking list", ); @@ -619,7 +619,7 @@ sub SSCam_Set { } elsif ($opt eq "credentials") { return "Credentials are incomplete, use username password" if (!$prop || !$prop1); - return "Password is too long. Make sure your password is maximum of 20 characters long." if (length $prop1 > 20); + return "Password is too long. It is limited up to and including 20 characters." if (length $prop1 > 20); delete $hash->{HELPER}{SID} if($hash->{HELPER}{SID}); ($success) = setcredentials($hash,$prop,$prop1); $hash->{HELPER}{ACTIVE} = "off";