2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

39_gassistant: open login page in new tab

git-svn-id: https://svn.fhem.de/fhem/trunk@19047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dominikkarall 2019-03-27 15:11:30 +00:00
parent cc5985ff63
commit fb74cee065

View File

@ -422,7 +422,7 @@ gassistant_getCMD($)
chomp( $cmd );
if( !$ssh_cmd && !(-X $cmd) ) {
my $msg = "gassistant-fhem not installed. install with 'sudo npm install -g gassistant-fhem'.";
my $msg = "gassistant-fhem not installed. install with 'sudo npm install -g gassistant-fhem --unsafe-perm'.";
$msg = "$cmd does not exist" if( $cmd );
return (undef, $msg);
}
@ -494,7 +494,7 @@ gassistant_Set($$@)
return "usage: set $name $cmd <url>" if( !@args );
my $url = $args[0];
$url = "<html><a href=\"$url\">Click here to login</a><br></html>";
$url = "<html><a href=\"$url\" target=\"_blank\">Click here to login (new window/tab)</a><br></html>";
$hash->{".triggerUsed"} = 1;