Fix two-factor token creation for iOS devices, closes #1624
This commit is contained in:
parent
02ac308042
commit
47c12929c4
3 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,7 @@ class TwoFactorSetupService
|
|||
'totp_secret' => $this->encrypter->encrypt($secret),
|
||||
]);
|
||||
|
||||
$company = $this->config->get('app.name');
|
||||
$company = preg_replace('/\s/', '', $this->config->get('app.name'));
|
||||
|
||||
return sprintf(
|
||||
'otpauth://totp/%1$s:%2$s?secret=%3$s&issuer=%1$s',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue