urlencode company name; closes #1690
This commit is contained in:
parent
e95a532da9
commit
7ee509d8c2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class TwoFactorSetupService
|
|||
'totp_secret' => $this->encrypter->encrypt($secret),
|
||||
]);
|
||||
|
||||
$company = preg_replace('/\s/', '', $this->config->get('app.name'));
|
||||
$company = urlencode(preg_replace('/\s/', '', $this->config->get('app.name')));
|
||||
|
||||
return sprintf(
|
||||
'otpauth://totp/%1$s:%2$s?secret=%3$s&issuer=%1$s',
|
||||
|
|
Loading…
Reference in a new issue