mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 15:59:21 +00:00
98_GoogleAuth.pm: fix iOS problem if label contains spaces
git-svn-id: https://svn.fhem.de/fhem/trunk@13090 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7edcd0ae00
commit
8900ebdbcf
@ -189,6 +189,7 @@ sub GoogleAuth_Summary($$$$) {
|
||||
sub _ga_make_url($) {
|
||||
my ($name) = @_;
|
||||
my $label = AttrVal($name,'ga_labelName',"FHEM Authentication $name");
|
||||
$label =~ s/\s/\%20/g;
|
||||
my $qrsize = AttrVal($name,'ga_qrSize','200x200');
|
||||
my $secret_base32 = getKeyValue("googleAuth$name");
|
||||
return undef unless defined($secret_base32);
|
||||
|
Loading…
x
Reference in New Issue
Block a user