mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Fix two-factor token creation for iOS devices, closes #1624
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user